Coding task · JavaScript and React course · Module 1: React Basics
Practice: Import and Export modules
Use the import/export system like an advanced transport system between station modules.
Task
Create a Navigation component in a separate file (e.g. Navigation.jsx) and export it, then import it in App.jsx and render it in the main Spaceship component.