React a second read
satya - 6/10/2025, 9:16:52 AM
Learn react plan in word doc: github link
satya - 6/10/2025, 9:19:46 AM
Claim
- Smaller learning curve!!
- work with a variety of backends
satya - 6/10/2025, 9:19:51 AM
Both are important to me
Both are important to me
satya - 6/10/2025, 3:04:53 PM
install node on windows
install node on windows
satya - 6/10/2025, 3:05:33 PM
Latest version at this time: V 22
Latest version at this time: V 22
satya - 6/10/2025, 3:16:49 PM
Some questions to after
- What is React?
- How do components work?
- Why do we need JSX?
- What distinguishes props from state?
- What problem does the key prop solve?
- How do controlled vs. uncontrolled inputs differ?
- What happens inside useEffect?
- When would you reach for useMemo / useCallback?
- What is context for?
- How does reconciliation work?
- What?s new in React 18 fundamentals?
- How does Suspense help with data-fetching?
- Explain lifting state up.
- How do refs differ from state?
- Why/when would you split a component?
- What is React.StrictMode?
- Why does React warn about side-effects in render?
- How does event handling differ in React?
- Can you call hooks conditionally?
- What?s the biggest mindset shift for newcomers?
satya - 6/10/2025, 4:18:24 PM
npm create [email protected] my-react-app -- --template react
- Explanation
- ................
- npm create ? one-shot scaffolding command (alias of npm init) that downloads a generator package, runs it, then discards it.
- [email protected] ? requests version 5.1.0 of the generator package create-vite (npm auto-adds the create- prefix).
- my-react-app ? name (and path) of the folder to generate; created inside your current working directory.
- -- ? tells npm to stop parsing flags; everything after this is passed straight to the generator.
- --template react ? instructs create-vite to use its React JavaScript starter template.