Coding task · JavaScript and React course · Module 5: useEffect and Custom Hooks
Practice: localStorage in React
Use localStorage like a colony data archiving system that survives power cycles.
Task
Create ColonySettings with useEffect to sync state with localStorage (theme, language, etc.).