≈ the.bay.news

One client component in our root layout wanted 56 strings, and was importing 100 KB of game metadata to get them

DEV Community
One client component in our root layout wanted 56 strings, and was importing 100 KB of game metadata to get them
A Client Component mounted in the root layout puts whatever it imports into the first load of every page. Splitting 56 provider slugs out of a 4,400 line module, and moving the one lookup that needed the rest onto the server.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.