Fundamentos React uses React Router v7 (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Byrontosh/FundamentosReact/llms.txt
Use this file to discover all available pages before exploring further.
react-router) to map each learning concept to its own URL path. The entire application is wrapped in a <BrowserRouter>, and a single parent <Route path="/"> renders LandingPage as the persistent shell. All concept pages are registered as child routes of that parent; React Router renders the matched child into the <Outlet /> that LandingPage provides, so the sidebar navigation remains visible at every path while only the main content area changes.
Route tree
The full route configuration is defined inApp.jsx:
Route table
| Path | Component | Concept |
|---|---|---|
/ (index) or /fundamentos | Primero | JSX, variables, and events |
/usestate | Segundo | useState |
/useffect | Tercero | useEffect |
/customhook | Cuarto | Custom Hook |
/props | Quinto | Props |
/zustand | Septimo | Zustand |
/rederizado | Noveno | Conditional & List Rendering |
/localStorage | Decimo | localStorage |
The
localStorage route is registered in App.jsx as path="localStorage" (capital L), but the <Link> in LandingPage points to '/localstorage' (all lowercase). Because BrowserRouter performs case-sensitive path matching, this mismatch means the active-link highlight for the localStorage entry never fires. If you need the highlight to work, change the <Link to='/localstorage'> in LandingPage.jsx to <Link to='/localStorage'> to match the registered route path.Layout component
LandingPage acts as the persistent layout shell for the entire application. It renders a two-column layout: a fixed left sidebar containing the navigation links, and a scrollable right panel that houses <Outlet /> — the slot where React Router mounts the active child route.
useLocation. On every render, location.pathname is captured into urlActual. Each <Link> compares its target path against urlActual and conditionally applies text-blue-300 underline when the paths match, falling back to plain text-white for inactive links. This approach requires no external active-link library — it uses only the pathname string React Router already provides.
The rendering concept route is registered as
path="rederizado" — note the missing n compared with the Spanish word renderizado. This is an intentional quirk of the current source code. The sidebar <Link> in LandingPage and the <Route> in App.jsx both use the same misspelled string, so navigation works correctly. If you rename the route, update both files to keep them in sync.