Using compound components in React is so amazing, I'm sure there will be many devs out there who have never tried this out.
Check the next thread below for output π§΅
Output π₯
β¨ Perf death by a thousand cuts πͺ π
This HOC component is all you need to memorize a specific slice of the state π so that it re-renders only when the slice of the state it cares about is changed.
β¨ React Suspense
Got to learn few things which I never knew
β Concurrent Mode
β Data-Fetching
β Render as You Fetch
β useTransition
β Cache Resources
β Suspense Image
β Custom Hooks
β SuspenseList
Thanks for your time!
PS: There are many more tips and tricks in epicreact.dev
For the last 15 years, he has been a world-renowned expert in decision-making.
I've read 100 hours of content by him to improve my judgment.
7 razors to think more clearly (and become a better entrepreneur):
1. Action Bias
When you're always doing something, you neglect thinking.
Ask yourself:
β’ Is it worth it?
β’ Is this the best way to do it?
β’ Am I trying to control things outside my control?
This aligns my long-term goals with my short-term goals.
2. Fundamental Attribution Error
People underestimate external factors.
You sometimes fail to recognize that results are still out of your control, no matter how hard you work. As people think, "I've given my best, but it didn't work out."
After reading it, I stopped being busy and started being impactful.
7 principles from him to make smart decisions in your life:
1. The essentialist
Essentialism is not about how to get more things done.
It's about doing things less but better. It's a method of choosing between good things and a few really great things.
It's a way to think, eliminate, and execute your priorities.
2. Rule of 90%
The way you choose your options is under your control.
One way to do so is to adopt the 90% rule. Start by prioritizing important tasks. Then give each task a score b/w 0-100. Any task less than 90 (even 89) is a 0.
7 skills you can learn to stay ahead of the curve:
1. AI content creators
We're already seeing the rise of AI content creation tools.
In the next decade, we'll need more creators who can use AI to deliver quality content at a much quicker speed. So, keep playing around with those tools.
You'll see it pays off.
2. Integration Specialist.
AI is removing anything that is low effort.
Companies are continuously looking at their systems to find what can be replaced by AI. Now, this process needs expert supervision to find those parts.