Round 3 of performance improvements 🥊
February 1, 2023
![Increasing performance scores](/_next/image?url=https%3A%2F%2Fstorage.googleapis.com%2Fs.mkswft.com%2FRmlsZToxYjFkOWE2ZS03ZTRhLTRjYTktOTE5ZC05MzQwMTdjN2E4Yzk%3D%2F02-01-2023-Social-Image-performance-round-3.png&w=3840&q=75)
For a third and final round of performance improvements — 0.6.0
of @makeswift/runtime
includes a lighter weight Text component and reduces re-renders in most of Makeswift’s default components. On makeswift.com we consistently saw our desktop and mobile lighthouse scores reach 90+!
![Previous and new, better performance scores](/_next/image?url=https%3A%2F%2Fstorage.googleapis.com%2Fs.mkswft.com%2FRmlsZTo5OTJjMTk4My1kMzdlLTRiMDAtYmVmMC1lM2QwNTBmNTEwYjM%3D%2F02-01-2023-performance-diff-slimmer.jpeg&w=3840&q=75)
Improvements & fixes
Created a slimmer version of the Text component that doesn’t ship slate or immutable-js to sites rendered outside of the builder
Prevented extra re-renders in default components by optimizing how
@makeswift/runtime
references DOM elementsFixed a bug that was preventing scripts from running on client side navigation