DEV Community

loading...
varunprashar5 profile picture

varunprashar5

404 bio not found

Optimization may overkill Performance (React)

Optimization may overkill Performance (React)

Reactions 2 Comments 1
2 min read

Recent comments

Don't overoptimize your React App

^ ^ Do the profilinig and figure out what components are taki...

Don't overoptimize your React App

Best is open up your React profiler and compare how much will...

Don't overoptimize your React App

I am glad you liked it.

𝗛𝗼𝘄 𝘁𝗼 𝗳𝗶𝗻𝗱 "UNUSED' 𝗝𝗔𝗩𝗔𝗦𝗖𝗥𝗜𝗣𝗧 𝗮𝗻𝗱 𝗖𝗦𝗦 𝗰𝗼𝗱𝗲 𝗼𝗻 𝘆𝗼𝘂𝗿 𝗽𝗮𝗴𝗲? 🤔

but its only for unused imports ..what about the same file wh...

𝗛𝗼𝘄 𝘁𝗼 𝗳𝗶𝗻𝗱 "UNUSED' 𝗝𝗔𝗩𝗔𝗦𝗖𝗥𝗜𝗣𝗧 𝗮𝗻𝗱 𝗖𝗦𝗦 𝗰𝗼𝗱𝗲 𝗼𝗻 𝘆𝗼𝘂𝗿 𝗽𝗮𝗴𝗲? 🤔

This can not realistic to be done in first place. You will fi...

𝗛𝗼𝘄 𝘁𝗼 𝗳𝗶𝗻𝗱 "UNUSED' 𝗝𝗔𝗩𝗔𝗦𝗖𝗥𝗜𝗣𝗧 𝗮𝗻𝗱 𝗖𝗦𝗦 𝗰𝗼𝗱𝗲 𝗼𝗻 𝘆𝗼𝘂𝗿 𝗽𝗮𝗴𝗲? 🤔

Yes thats true and its quite intense. My next post is on this...

𝗛𝗼𝘄 𝘁𝗼 𝗳𝗶𝗻𝗱 "UNUSED' 𝗝𝗔𝗩𝗔𝗦𝗖𝗥𝗜𝗣𝗧 𝗮𝗻𝗱 𝗖𝗦𝗦 𝗰𝗼𝗱𝗲 𝗼𝗻 𝘆𝗼𝘂𝗿 𝗽𝗮𝗴𝗲? 🤔

Exactly 100% correct. So your 10 MB bundle will not be requir...

𝗛𝗼𝘄 𝘁𝗼 𝗳𝗶𝗻𝗱 "UNUSED' 𝗝𝗔𝗩𝗔𝗦𝗖𝗥𝗜𝗣𝗧 𝗮𝗻𝗱 𝗖𝗦𝗦 𝗰𝗼𝗱𝗲 𝗼𝗻 𝘆𝗼𝘂𝗿 𝗽𝗮𝗴𝗲? 🤔

Then you have not understood the concept properly. It is not ...

Don't overoptimize your React App

Don't overoptimize your React App

Reactions 112 Comments 6
2 min read
How Javascript Engine's Work?

How Javascript Engine's Work?

Reactions 16 Comments
2 min read
𝗛𝗼𝘄 𝘁𝗼 𝗳𝗶𝗻𝗱 "UNUSED' 𝗝𝗔𝗩𝗔𝗦𝗖𝗥𝗜𝗣𝗧 𝗮𝗻𝗱 𝗖𝗦𝗦 𝗰𝗼𝗱𝗲 𝗼𝗻 𝘆𝗼𝘂𝗿 𝗽𝗮𝗴𝗲? 🤔

𝗛𝗼𝘄 𝘁𝗼 𝗳𝗶𝗻𝗱 "UNUSED' 𝗝𝗔𝗩𝗔𝗦𝗖𝗥𝗜𝗣𝗧 𝗮𝗻𝗱 𝗖𝗦𝗦 𝗰𝗼𝗱𝗲 𝗼𝗻 𝘆𝗼𝘂𝗿 𝗽𝗮𝗴𝗲? 🤔

Reactions 148 Comments 10
1 min read
What is AbortController in Javascript?

What is AbortController in Javascript?

Reactions 3 Comments
1 min read
Do you know React Hooks Flow?

Do you know React Hooks Flow?

Reactions 54 Comments
1 min read
What is Prop Drilling in React? Understanding Context API - Part 1

What is Prop Drilling in React? Understanding Context API - Part 1

Reactions 14 Comments 1
2 min read
Different React Patterns for Enterprise Apps

Different React Patterns for Enterprise Apps

Reactions 11 Comments 3
1 min read
Do you know javascript?

Do you know javascript?

Reactions 2 Comments 5
1 min read
What the heck is RPC ?

What the heck is RPC ?

Reactions 1 Comments
1 min read
Best way to learn any programming language

Best way to learn any programming language

Reactions 4 Comments
2 min read
Boost Web Performance: content-visibility (chrome 85)

Boost Web Performance: content-visibility (chrome 85)

Reactions 2 Comments
1 min read
React Hooks: useEffects - Part - 2

React Hooks: useEffects - Part - 2

Reactions 6 Comments
5 min read
React Hooks from Scratch - Part 1

React Hooks from Scratch - Part 1

Reactions 9 Comments
5 min read
loading...