hi, I'd like to hear from someone who has more experience with Remix how they tend to approach getting data to individual components. Do you tend to try to keep data flow concise by loading it in parent component (so the route itself) and passing down what is required (maybe using context/state management, in addition to this)? Or do you tend to just get the route data inside the component itself (via hook) that needs it and not be too concerned with data flow? Or do you try to find a middleground, do what feels right on a case to case basis? Right now, I find that I'm often second guessing myself on these design decissions. I hope that someone could tell me why one or the other approach leads to a more robust application...
#Whats your approach to data-flow?
1 messages · Page 1 of 1 (latest)