5 Advanced React Patterns
Compound Components Pattern This pattern makes possible the creation of expressive and declarative components while avoiding prop drilling. Consider using this pattern if you want a customizable component, with a better separation of concern and an understandable API.
Front-end Testing PrinciplesWe want to write maintainable tests that give you high confidence that your components are working for your users. And for the Front-End we need to focus on only two targets for our tests: The end-user who interacts with your component in the browser.