Project to submit · JavaScript and React course · Module 10: React Ecosystem and Future

Mentor Project: Space Mission Command Center

Build the Space Mission Command Center from the main project of this module, using the techniques you have learned. The project should include: a dashboard with three panels (mission status, systems, crew) composed with the Compound Components pattern, mission state in useReducer with actions for launching, using fuel, toggling systems and adding a crew member, a PL/EN language switch that changes every label of the interface, an alert rendered with createPortal when fuel drops below 20%, an error boundary around every panel with a reload button, and memoization where a list or a calculation really needs it (or React Compiler). The app should run without errors in the console - in the next module you will work on fetching data and APIs.

Task

Send your mentor a link to your Space Mission Command Center (a GitHub repository, CodeSandbox or StackBlitz) together with a short description of where you used the portal, the reducer, the error boundaries and the language switch.