DEV Community

Discussion on: React Beginner Question Thread ⚛

Collapse
 
dan_abramov profile image
Dan Abramov

Try to see how big apps using Redux organize their state (using Redux DevTools or by looking at storeState of connected components in React DevTools). For example Mobile Twitter.

I think in general instead of nesting you’ll want to normalize the data and keep it relatively flat. I wrote a library for this that was rewritten and is now maintained by Twitter: github.com/paularmstrong/normalizr

I don’t know what minimongodb is and I don’t understand what you mean by validating or orphan objects.

Collapse
 
richvaldivieso profile image
Richard Valdivieso

Minimongodb is a mongodb that is used in app that uses meteorjs. I was thinking introduce a db for the state so I can keep it normalize.

Thread Thread
 
dan_abramov profile image
Dan Abramov

That wouldn’t be related to Redux though, would it?

Thread Thread
 
richvaldivieso profile image
Richard Valdivieso

No it is not. Just an idea.