JSJayesh Sojitrainjayesh-sojitra.hashnode.dev·4h ago · 4 min readCompound Components: A Pattern Worth LearningCompound components are one of those React patterns that feels abstract in explanation but obvious once you see it — because you've been using the browser's version of it your whole career. The proble00
JSJayesh Sojitrainjayesh-sojitra.hashnode.dev·1d ago · 4 min readGenerics Explained With Real ExamplesGenerics get introduced through abstract examples (function identity<T>(arg: T): T) that are technically correct but don't show why you'd reach for them. Here's the practical version — what problem th00
JSJayesh Sojitrainjayesh-sojitra.hashnode.dev·3d ago · 3 min read Week 2 Recap: Architecture + ToolingDay 8 — Context API vs Redux vs Zustand: When to Use Each Context for low-frequency shared values. Zustand for global state without ceremony. Redux for complex, cross-cutting state that genuinely need00
JSJayesh Sojitrainjayesh-sojitra.hashnode.dev·3d ago · 4 min read 7 Ways to Speed Up Your React AppPerformance work on a React app tends to start with the flashiest-sounding optimization (memoization) instead of the ones that usually have the biggest actual impact. Here's a more accurate priority o00
JSJayesh Sojitrainjayesh-sojitra.hashnode.dev·4d ago · 4 min read Unit vs Integration vs E2E: What to Actually Test"How much should I test" gets answered with a coverage number when the better question is "what kind of test actually catches this kind of bug." Different test types catch fundamentally different prob00