Dan_web (@kode456) header
Dan_web (@kode456) profile picture

I am a Web Developer. A Gear head, Tech enthusiast, a little bit of an otaku, Gamer and sports lover(football, basketball,). #PASSION https://xitter.gq/t.co/4Cf3RTiWA0

Lagos, Nigeria
Joined July 2022
Photo by Dan_web (@kode456)Photo by Dan_web (@kode456)Photo by Dan_web (@kode456)Photo by Dan_web (@kode456)Photo by Dan_web (@kode456)Photo by Dan_web (@kode456)Photo by Dan_web (@kode456)Photo by Dan_web (@kode456)
I just published KNOW THYSELF medium.com/@kode456/know-thy… Check it out and be enlightened.
15
While building React Insight, I have learned that you don't solve React debugging with one giant file; instead, you solve it by building a team of small systems that each do one job really well. Here's what the architecture looks like today.
2
2
6
92
At the centre is the ReactInsightEngine. It is the conductor of this orchestra. Every time React commits an update, it coordinates the entire pipeline: • Track components • Understand why they rendered • Analyse effects • Calculate application health One commit. One pipeline.
1
15
Building the Health Engine I have now successfully built one of the features I'm most excited about: The Health Engine. Instead of throwing a wall of performance metrics at you, it answers a much simpler question: "How healthy is my React application?"
1
2
4
48
Think about your annual health check-up. Your doctor doesn't hand you 50 different numbers and say, "Good luck." They tell you: - Here's your overall health. - Here's what's hurting it. - Here's what to improve first. That's exactly how I want React Insight to feel.
1
9
I learned something that completely changed how I was building the tool. I assumed React StrictMode caused duplicate commits. Turns out it doesn't. I'm building React Insight to answer: Why did this component render? Sounds simple, right? But React's internal data structures
1
2
5
70
React doesn't keep the same internal object for a component. It swaps between two versions of its Fiber tree behind the scenes. Meaning this: Component ↓ Fiber A ↓ Fiber B ↓ Fiber A ↓ Fiber B It's still the same component, but React keeps giving me different objects.
1
16
React Insight Engine in Plain View Every time React commits an update, this engine wakes up, walks the Fiber tree, figures out why components rendered, analyzes effects, and records everything for later inspection. It's essentially the brain of React Insight.
1
3
5
84
The pipeline is intentionally simple: React Commit ↓ Walk Fibre Tree ↓ Track Components ↓ Classify Render Reasons ↓ Analyze Effects ↓ Store History ↓ Health Score Every feature in React Insight builds on this pipeline.
1
1
19
The Foundation Has Been Laid. My goal so far was simple on paper: Set up the project and get React Insight working alongside React DevTools. As usual, the code had other ideas. 😅
1
2
3
32
One thing I decided very early: React Insight isn't here to replace React DevTools. React DevTools already does a great job of telling us what rendered. React Insight is being built to explain why it rendered. Think of them as teammates, not competitors.
1
6
1. React DevTools shows you what re-rendered. It doesn't tell you why. I've spent way too many hours adding console.log to answer that question; that's why I'm excited about building React Insight and shipping. Here's the architecture xitter.gq/kode456/status/2079845…
2
1
4
93
2. First problem to solve: how do I even see everything happening inside my React app? Answer: tap into the same internal hook React DevTools itself uses. A Fiber interceptor, runtime stream, and dedicated listeners for Context, Zustand, and TanStack Query,
1
20
I saw the struggle, and now I am trying to solve it. After I finished learning HTML, CSS and JavaScript, I jumped on the React train. And till now, It's still my favourite way to build web apps. But there's one thing about it that has always bothered me...
2
2
2
81
No matter how much I learned and practised, React still had a way of making me question my life choices. Sometimes everything looks fine. And then boom, one tiny change somehow breaks five other things. 😭 It was not just me, so I of course kept on pushing
1
1
1
17
Day 1: The Manifesto React DevTools can tell you that a component rendered. But they rarely tell you why. And that's one of the biggest reasons React debugging still feels harder than it should, after talking to developers and digging through React community discussions.
1
5
6
98
I noticed the same frustrations kept coming up:• "Why did this component re-render?" • "Why is this useEffect running again?" • "Which dependency actually changed?" • "Why did updating one value re-render half my app?"
1
30
Honestly shaaa he needs to explain to us xitter.gq/Blgodd/status/20597163…
16
I just published Healing Each Other medium.com/p/healing-each-ot…
14
Good Tidings to all frontend developers I just published From useState/useEffect Hell to TanStack Heaven: Your API Calls Deserve Better! medium.com/p/from-usestate-u… #FrontendDev
1
3
50
I think electric cars have taken away the excitement of cars. The join and excitement that came with knowing what was under the hood.
1
19
The Best Career Advice I Ever Received 💡 As I reflect on my journey, I'm reminded of a piece of advice that transformed my approach to learning and growth. "Daniel build actual stuff, don't just focus on a stunning resume."
1
1
1
29
This piece of insight changed everything for me. It gave me a new perspective and approach Instead of just learning theory, I started applying my skills by building real-world projects. This hands-on approach helped me:
1
7
Let's Connect! Hey fellow techies! I'm a Frontend Developer, and I'm excited to connect with other professionals in the industry. Now it's your turn! Drop your tech role below:
1
1
66
Are you a? Developer (front-end, back-end, full-stack) Data Scientist Software Engineer UX/UI Designer Cybersecurity Specialist or any other tech-related role... Let's connect, share knowledge, and support each other! #CONNECTION #frontend #technology
61
Current Project: Custom Gym Web Application Hey Techies, as part of my desire to stay accountable and productive, I'm excited to share what I will be working on this week. A Gym Web Application so let’s take a quick look at the why, what and how.
2
1
38
Why?: Most techies spend all or most of their days sitting in front of a computer system which is not so healthy and as a result finding a good workout plan to help is never a bad idea.
1
12
Free Resource Alert: Boost Your Frontend Skills with This Amazing React Course* As a front-end developer, I'm always on the lookout for high-quality resources to improve my skills. Today, I want to share with you a free course that has been instrumental in my React journey:
1
1
1
56
Full Modern React Tutorial by NetNinja (youtube.com/watch?v=j942wKiX…) This comprehensive course covers everything you need to know to get started with modern React development. NetNinja's expert guidance and clear explanations make it easy to follow along and learn.
1
8
7 Productivity Tips for Techies: Staying Focused and Efficient As a techie, staying productive is crucial to delivering high-quality work, meeting deadlines, and continuously learning. Here are 7 productivity tips that help me stay focused and efficient:
1
3
3
261
1. Task Scheduling: Plan Your Day Prioritize your tasks, break them into smaller chunks, and schedule them in your calendar. This helps you stay organized, and focused and ensures you're making progress on your goals.
1
1
12