
Aman
@ImAmanThakur
Followers
197
Following
2K
Media
123
Statuses
864
π¨βπ» Fullstack Dev β€οΈ Sharing content about React & NextJS π€ Let's Build Amazing Stuff!
Chandigarh, India
Joined May 2015
Why handle errors in React? It helps avoid the white screen of death and lets users recover from errors. Let's look at two main ways to do it.
1
0
0
Handling errors in your React projects is vital for a great user experience. Explore try-catch and React Error . #React.
0
0
0
π Method #2: React Error Boundary. Introduced in React 16, error boundaries catch errors in child components and display a fallback UI. One can be used throughout your app!.
1
0
0
Need to call a child method from a parent in #React? . Use the 'key' prop! Increase the key in the parent to trigger a method in the child with useEffect. Check out the screenshot for the code example. A handy way to refresh child components! π
0
0
0
6οΈβ£ Caching: React 18βs cache function remembers results, reusing values without re-execution. ποΈ.#React18 #AppPerformance #WebDevelopment.
0
0
0
4οΈβ£ Suspense: More power for data fetching! Render fallback components while data is being fetched. π’.
react.dev
The library for web and native user interfaces
1
0
0
I am building an app that lets you log your activities and helps you keep track of your time. Here's how to start designing your app. #buildinginpublic.
1
0
0
RT @OG_IndieMaker: π I'm going to give one random person that retweets this $5. Because Iβd rather spend my ad budget on you than BigTechβ¦.
0
2
0