请问HN:你是如何编写高性能、可扩展、可测试且易读的React代码的?
无论我如何构建 React 项目,它们总是变成一个难以阅读且充满错误的混乱。你是怎么做到的?你是如何确保你的项目结构良好、遵循 DRY 原则、易于阅读、可测试且没有错误的?
查看原文
However I go about building React projects, they _ always_ turn into an unreadable buggy mess. How do you do it? How do you make sure your project is well-structured, DRY, readable, testable and bug-free?