Coding task · JavaScript and React course · Module 4: Context API and useReducer
Practice: Separated Contexts
Build a system of separated contexts for a space station with separate providers for fuel, position, and crew.
Task
Create three separate contexts (FuelContext, PositionContext, CrewContext) with their own providers. Compose them together in ShipProviders. Display data from each context in separate components.