πŸ‡¬πŸ‡§ React London, setState vs Redux and Bits of React

React London 2017 conference was this week and had a great line up of speakers. A couple of the speakers launched new libraries: Polished and Redux Offline. We've included the libraries in this week's newsletter of course!

Lately there's been a lot of chatter on Twitter about setState vs using an alternative state management library like Redux or MobX. Preethi Kasireddy even gave a great talk at React Conf 2017 comparing Redux to MobX. Which one is the best tool for your application: setState, Redux or MobX? The answer: it depends! I know that probably sounds frustrating, but the general consensus around when to use setState vs another state management library is that setState should be learned first before adding another library on top of React. setState is a critical piece of React that should not be ignored, especially if you are new to learning React. If and when you decide your app has gotten too unwieldy or difficult to follow just using setState to manage your state, then using another library like MobX or Redux can be a good alternative.

With all that in mind, we've got a lot of tutorials on how and when to use Redux, as well as some tips, tricks and techniques for common patterns found in React applications (including common state management techniques!).

Happy Coding!

-Sophia Shoemaker

 

Tutorials




Code



About

Like what you've been reading from Fullstack React? You can help us spread the word. Please forward this email to you friends (and let them know they can subscribe here).


Follow us on Twitter


Curated with love by Sophia Shoemaker and the Fullstack.io team.

Suggestions are welcome, just reply to this email - we'd love to hear from you.