DEV Community

Cover image for 5 daily NPM packages are used in every React project
shrey vijayvargiya
shrey vijayvargiya

Posted on

5 daily NPM packages are used in every React project

01

Lodash
I have already covered a one-minute short video for this, lodash makes writing logic in javascript a cakewalk.

NPM package link


02

React Toastify\

NPM package link


03

React Icons
I have covered a short description for react icons.

Only library you need for icons

Short link


04

React Query
This might amuse you but yes to cache, and fetch the data in the frontend, I used react query a lot to make things fast.


05

Tailwind CSS
It doesn’t matter what framework I will work on, I will always go with a tailwind to write CSS.

Introduction to tailwind css

Conclusion
That’s for today, until next time, have a good day, people.

Keep developing
Shrey
iHateReading

Top comments (3)

Collapse
 
miketalbot profile image
Mike Talbot ⭐

Lodash is a nightmare for tree shaking and tends to bloat the build to a large degree. Lodash-es can help solve this.

Collapse
 
shreyvijayvargiya profile image
shrey vijayvargiya

Indeed, but you can use minify loaders to compress the bundle size and removed the unused dependencies even add lazy loading of dependence.
I am reading about it lately a lot so will share a dedicated article on it.

Collapse
 
shreyvijayvargiya profile image
shrey vijayvargiya

And I have just covered a new blog for it. The importance of bundle size.
dev.to/shreyvijayvargiya/why-our-w...