Greenville Development Board Clarifies That 'Character' Means No New Neighbors Under $2 Million
As Kennett Pike Shops Expand, Residents Debate Whether Affordable Housing Would 'Ruin the Aesthetic' of Their Manor Estates
why passing the test doesn't get you hired
why passing the test doesn't get you hired
- {"id":298,"type":"concept","title":"Economic Segregation in Suburbs"}
Algorithm Claims 100% Accuracy on Vague Input
Algorithm Claims 100% Accuracy on Vague Input
how the curriculum fails the real world
how the curriculum fails the real world
Senior Data Science Hiring Manager
Senior Data Science Hiring Manager
A note on re-renders
A note on re-renders
100 React MCQ for Interview (React Quiz Test) | CodeForGeek
100 React MCQ for Interview (React Quiz Test) | CodeForGeek
Top 50 React Interview Questions and Answers 2026 | StackInterview Articles | StackInterview
Top 50 React Interview Questions and Answers 2026 | StackInterview Articles | StackInterview
ReactJS MCQ - Tpoint Tech
ReactJS MCQ - Tpoint Tech
React Interview Q8: Does Updating State Always Re-Render?ππ€ #reactinterview #reactjs #devshorts
React Interview Q8: Does Updating State Always Re-Render?ππ€ #reactinterview #reactjs #devshorts
React Re-renders: Harmless vs. Catastrophic
What breaks your app and what doesn't matter
Child Component State Change
Leaf trembles
Pros
- Re-render stays local to that component
- Parent and siblings unaffected
- React's reconciliation handles it instantly
Cons
- Easy to miss if you're paranoid about performance
Top-Level App State Change
Forest topples
Pros
- Guarantees all children stay in sync with truth
Cons
- Every descendant re-renders, guilty or not
- Expensive calculations run unnecessarily
- Users see janky animations or input lag
- Mobile devices suffer most
Side-by-Side Comparison
| Feature | π Child Component State Change | π² Top-Level App State Change |
|---|---|---|
| Cost | Microseconds | Milliseconds to seconds |
| What Users Feel | Nothing | UI freezes or lags noticeably |
| Typical Scenario | Button click inside a modal | Global filter update on 1000-item list |
A child component updating its own state is noiseβReact handles it instantly and parents never know. But pushing state too high in the tree forces the entire forest to re-render. The fix: keep state as local as possible, or use memoization and context wisely to decouple updates.
The Convertible Note
The Convertible Note
What Actually Scaled at Y Combinator
What Actually Scaled at Y Combinator
Your Frontend Is Now A Server
Your Frontend Is Now A Server
