gaearon / ama

Ask me anything!
222 stars 5 forks source link

Using CRA for rapid prototyping, and then redux to connect everything #144

Open CoachThomLamb opened 7 years ago

CoachThomLamb commented 7 years ago

I'm building a fairly large SPA (Single Page App for the readers), and I would like to prototype/ build out parts of this app using CRA. I was thinking that inside of the parts AKA components, that I could then connect them into the main project by connecting state using redux to manage the overall state of the app. In a lot of cases I don't need the complexity and power of redux, but sometimes I need to update state across the entire app, and in those cases it seems like plugging the parent component of that particular module into Redux would make the most sense. Or am I making some massive mistake ? Thanks !