DrupalCon Nashville 2018: Introduction to React Design Patterns
This session will explore the gift and the curse of the famously un-opinionated ReactJS, and answer some of the most pressing questions not covered by the documentation:
How do I separate my display logic and my business logic?
What's the right way to connect our components to an external API?
What's the right way to manage state?
This session will demonstrate how design patterns can be used to abstract away our business logic. This improves the separation of concerns. Furthermore, higher order components can be used to make our logic composable and reusable. It will also introduce an important state-management technique used in most large-scale React applications in production today. Attendees will leave this session knowing how to use:
Presentational/container components
Render Props
The Flux pattern of stage-management
How do I separate my display logic and my business logic?
What's the right way to connect our components to an external API?
What's the right way to manage state?
This session will demonstrate how design patterns can be used to abstract away our business logic. This improves the separation of concerns. Furthermore, higher order components can be used to make our logic composable and reusable. It will also introduce an important state-management technique used in most large-scale React applications in production today. Attendees will leave this session knowing how to use:
Presentational/container components
Render Props
The Flux pattern of stage-management