Top tips and tricks I learned from EpicReact complied in the thread below 🎩 πŸͺ„

Thanks @kentcdodds πŸ™ŒπŸ»

Everyone working with React must check this out πŸ§΅πŸ‘‡πŸ»
✨ React Fundamentals ⚑️ πŸ›°

If you are using the key as an index in React you should consider checking this example on how it affects the rendering.

Link to demo - react-fundamentals.netlify.app/isolated/final…
✨ React Hooks Lifecycle

This React flow diagram is all you need to understand while working with hooks written @donavon nicely explained by KCD!
✨ React Hooks

To master React hooks you need to understand the following concept 🎯

βœ… useState
βœ… useEffect
βœ… useRef
βœ… useReducer
βœ… useCallback
βœ… useContext
βœ… useLayoutEffect
βœ… useImperativeHandle
βœ… useDebugValue

@kentcdodds has nicely explained them
✨ React Performance

Lazy loading of components while the user hovers on an element. Wow, how cool is this?🀩

Check the next thread for output 🧡
Output πŸ”₯
✨ React Component Components

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

Like/RT to share knowledge πŸ™‚

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Harsh Makadia

Harsh Makadia Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @MakadiaHarsh

24 Apr
How I build a complete WebApp using lowcode in less than 2 weeks.

An Interesting thread 🧡 ⬇️

#nocode #lowcode #100DaysOfNoCode #BuildingInPublic Image
Image
Overview

Built a Web application that allows you to Login via OTP and access the portal having a different demo, case studies, video.

Stack Used

β€’ @airtable as Backend

β€’ @UiBakery for Frontend

β€’ @zapier for workflow automation
Read 8 tweets
21 Apr
Here are some reasons why you should schedule Tweets ahead of time to Maximize Reach and Engagement πŸš€

Note: used @copy_ai while writing this thread 🧡

⬇️
@copy_ai 1. Keeps you productive

If you tweet 10 times a day, that’s up to three hours of productive time lost!

By setting aside a limited amount of time for content creation, you'll be able to focus and deliver high-quality content.
@copy_ai 2. Ensure quality and consistency

Scheduling tweets is essentially planning ahead.

You could plan and schedule all your tweets for the week every Monday. By batching the content creation tasks together, you can create better content and be more productive
Read 13 tweets
20 Apr
20 Mistakes how to NOT make money on the internet πŸ’Έ 🚫

Sometimes the best way to do something well, is to understand what NOT to do. πŸ‘‡πŸ»
1. Dive Into a Niche without a Market

Every market has niches, but not every niche has a market. This is a great way not to make money online. In fact, it might even be the best because you can spend years in a niche that has no market, and not make a dime.
2. Don’t Know Your Customer’s Pains, Needs, and Desired Outcomes
β€œYou will get all you want in life if you help enough other people get what they want.” - Zig Ziglar
(1/2)
Read 23 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!