Recipes is a simple web app that uses Create React App, React Router, styled-components and React Context.
Though the app is super simple, I think it shows a couple of interesting techniques that can easily be extrapolated to real projects. In particular, Take a look at AppContext.js and how easy the context is binded to the application routes.
Also, it shows how a value stored on a context can be easily used through the app's components. Check for example how the searchTerm is being referenced and updated through the context on the SearchBar Component.
Top comments (0)