Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 26, 2021 04:41 pm GMT

If you use React, DO THIS!

This article was originally published on my newsletter last week. I publish previous week's newsletter here on the blog. If you want to read these as soon as they are published, sign up for the newsletter!

Ahoy,

Are you using React? If your answer is YES then you need to keep reading!

When using React, browsing the React docs is something that at least I do frequently. So I was super excited when I learned that the React team is rewriting the documentation and we can actually already access the new docs!

The new React.js docs are still in beta and a work in progress but by going to beta.reactjs.org you can already take them for a spin!

So what's new in the docs?

One of the things that I really like in the new docs is the fact that all the explanations are written using Hooks and functional components rather than classes and class based components.

For me I'm nowadays always using hooks + functional components and the only time I use class based components is when I'm working with an older codebase and modify existing components.

I uploaded a video this week talking about all my thoughts on the new docs and I also go more in depth on what's new in them. You can watch the video on the Youtube channel.

That's all for this week!

Cheers,
Tuomo


Original Link: https://dev.to/tumee/if-you-use-react-do-this-gh8

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To