Hi all, I’m curious as to what in particular appeals to you about React and/or Redux?
When I first saw JSX, I was horrified. It looked like a return to the bad-old-days when we attached event handlers directly in HTML attributes. But then I started to learn more about what it was actually doing, and how it actually worked, and I began to see how it could be useful. Now I use it extensively for production work.
Then, I saw Dan Abramov’s original Redux presentation, and a lot of things started to ‘click’ for me. I began to see how React and Redux together could help manage complexity in application development.
I have formed some personal opinions about what makes React and Redux useful. But, I’m really curious to find out what other people find appealing (or not).
What i like about this combination (React + Redux) is ability to manage state in a way that make sense to me. It allows to create and support architecture that manages state based on scope and duration.
Using Redux for everything is not always the right answer as it creates large overhead for simple interactions like toggle active state of some component. For specific cases - larger enterprise level apps i can see reasons why Redux for everything would be the better way to go.These reasons would be:
Good article and some comments on this topic: spin.atomicobject.com/2017/06/07/react-state-vs-r…
That presentation is on my 'to watch' list, but this blogpost that explains the concepts in cartoon made Redux click for me:
Sandeep Panda
co-founder, Hashnode
Here are 5 reasons why I find React/ Redux (or Flux in general) interesting:
stateis fascinating. It removes the need for performing DOM mutations directly. Instead, you just change thepropsandstateand the UI is automatically in sync.