66

React, Redux and JavaScript Architecture

 6 years ago
source link: https://jrsinclair.com/articles/2018/react-redux-javascript-architecture/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Whether you use them or not, React and Redux are important. They have changed the way we think about structuring front-end web applications. They can be very powerful. But they are not magic. JavaScript code does not automatically become better just because it uses React. It is easy to write horrible React code, just like it's easy to write horrible vanilla JavaScript. So, why is React important then? The thing is, understanding <em>how</em> to write React and Redux code is one thing. Understanding <em>why</em> you'd want to use React and Redux is another matter entirely. Once you understand the <em>why</em> of React, then modern JavaScript starts to make more sense. This is true whatever framework you're using. Whether it's React, Vue, Ember, Angular, Web Components, or something else entirely. React and Redux have had a huge impact on how we organise front-end code.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK