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

Creată 2y | 7 feb. 2023, 15:20:23


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

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 aug. 2023, 20:30:07 | Martin Fowler