using
useReducer
sounds much more scalable than a bunch of nested if/else statements. i've been trying to move my custom webflow components over to react too, but the
cms integration always feels a bit clunky when you have to fetch and map everything.
>is anyone else moving away from vanilla js?how are you handling the initial data fetch from the cms collection once the component mounts?