Responsive Design in Action
One of my favourite topics: web accessibility combined with responsive design... [Read more » ]
The elections-carousel-component project consists of a collection of components that receive election results data from an external API and display it as a carousel.
The component hierarchy is shown in Figure 1, which illustrates the nesting of the seven component types (eight types, if the ErrorBoundary component is counted).
All of the components are written in pure React (ie. not using Flux or Redux since this is a simple demo), and pass data to one another as shown below:
Full source code for the project is available on GitHub.
Comments are now closed.