Do you find yourself endlessly mocking things to make your component tests work? Have you pored over 1000s of lines of components snapshot diffs and and not been able to figure out what’s changed? Do you find yourself wondering why we write unit tests for components in the first place? If you answered yes to any of these questions, or you want to learn about how to architect your React apps with great test coverage without the hassle this talk is for you!
Purvi will go through structuring React apps in a way where component tests are trivial to write and identify where to better focus your unit testing efforts. She’ll touch on state management and how to structure your data store, how to connect your data layer to your view layer, and how to keep those layers separated for maximum scalability and maintainability.
Learn to architect React apps in a maintainable, scaleable and testable way.
Anyone who has built React apps before, ideally using Redux for state management.
Assumed Audience Knowledge
Five Things Audience Members Will Learn
- What to unit test
- Separating concerns of your UI and your data
- Normalizing a data store
- Component architecture
- How to scale your app