Complete the code to import a component from the correct folder.
import Header from './[1]/Header';
The components folder is the best place to keep React components like Header.
Complete the code to export a component as default from its file.
export default [1];The component name Header should be exported as default to be imported elsewhere easily.
Fix the error in the import statement to follow folder structure best practices.
import [1] from '../[1]/utils';
The helpers or utils folder is the right place for utility functions, not components or assets.
Fill both blanks to create a folder structure for a feature with components and hooks.
src/[1]/[2]/useFeatureHook.js
Feature-specific hooks go inside the hooks folder within the features folder.
Fill all three blanks to create an index file exporting components from a folder.
export { default as [1] } from './[2]';
export { default as [3] } from './[3]';The index file exports components by name and path. Here, Header and Footer are exported correctly.