npm and Package Scripts for React Projects
Learn how npm installs React dependencies, records exact versions in a lockfile, and runs repeatable project scripts with a safer everyday workflow.
Learn how npm installs React dependencies, records exact versions in a lockfile, and runs repeatable project scripts with a safer everyday workflow.
Learn what a React production build contains, how Vite handles client environment values and base paths, and how to release a static app safely.
Learn to pass data and callbacks through React props, use children for flexible layouts, and compose small components without building giant prop APIs.
Turn goals like reliability, security, and performance into measurable scenarios, then compare architectural choices with explicit costs and constraints.
Learn how React custom hooks reuse stateful logic, follow use* naming and call rules, type inputs and results, and keep each call's state independent.
See how React skills carry into React Native, learn core components and styling limits, and plan platform-specific UI, navigation, and testing.
Learn how React Router matches URLs to screens, navigates with links, reads dynamic parameters, and organizes shared layouts and route loading states.
Learn how useState snapshots work, how TypeScript infers state types, and how to update objects and arrays immutably in React components.
Refactor toward design patterns safely: follow evidence of change, preserve behavior with tests, and make small transformations before adding an abstraction.
Understand serverless responsibility boundaries, event-driven design, cold starts, state, and observability before moving workloads to managed functions.