Modularizing React Applications with Established UI Patterns

I've been working in front-end software for over three decades. A perennial problem has been mixing non-UI logic into the UI framework itself, leading to code that's both hard to understand and near-impossible to test. Despite being the hot new thing, React is just as vulnerable to this problem as Swing and Turbo Pascal. My colleague Juntao Qiu writes about how to untangle such a mess. In this first part he gives an overview of how a React application can evolve into a better modular structure. Later parts will dig into a small, but representative example.

more…

https://martinfowler.com/articles/modularizing-react-apps.html

Établi 2y | 7 févr. 2023 à 15:20:23


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

How is GenAI different from other code generators?

How is code generation with GenAI different from more "traditional" code generators? The newest memo in Birgitta Böckeler's explorations of GenAI talks abou

18 oct. 2023 à 20:10:05 | Martin Fowler
How is GenAI different from other code generators?

How is code generation with GenAI different from more "traditional" code generators? The newest memo in Birgitta Böckeler's explorations of GenAI talks abou

19 sept. 2023 à 10:10:06 | Martin Fowler
TDD with GitHub Copilot

At Thoughtworks, we are strong practitioners of Test Driven Development (TDD). Naturally this leads to the question of how generative AI can

17 août 2023 à 20:30:07 | Martin Fowler