React is gaining popularity because it’s so easy to work with. As a declarative language, it works like a factory for building UI components — you tell the system what to do and it figures out how to do it. You don’t need to worry about pesky implementation details about how it deals with state.
This flexibility comes with tradeoffs though, as these implementation details become increasingly important to your system’s long-term health.
In this presentation, 8th Light senior crafter Rani Zilpelwar demonstrates how to apply software design principles to the React library. Starting with dependency injection, Rani shows how to write components that are simpler to build, simpler to refactor, and offer peace of mind that they work as expected.
About Rani Zilpelwar
Rani Zilpelwar spent over 10 years working in QA learning how to break code; and for the last two years she’s learned how to build robust, well-designed, and well-tested code as a senior crafter at 8th Light.
About 8th Light University
8th Light University (8LU) is a semi-regular virtual event that is managed by 8th Light Inc, a global software consultancy. Topics focus on improving the craft of software development. Developers of all skill levels are welcome! Watch past event videos on YouTube or join the 8LU group to find out about upcoming events.