mithi / epic-react-exercises

Practical React exercises with detailed solutions.
https://epic-react-exercises.vercel.app
Apache License 2.0
161 stars 39 forks source link

🏇🏇🏇 Move code theme out of provider to its own function #85

Closed mithi closed 3 years ago

mithi commented 3 years ago

I ran light house performance several times and before moving the code theme to its own function the score was usually between 80 - 87. After I moved it out to its own function, the score is now usually between 90 - 97.

Before

Screen Shot 2021-02-14 at 3 25 39 AM

After

Screen Shot 2021-02-14 at 3 20 38 AM
vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mithi/epic-notes/q8kylgf59
✅ Preview: https://epic-notes-git-optimize-code-theme.mithi.vercel.app