Round 3 of performance improvements 🥊

February 1, 2023

Increasing performance scores

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

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 elements

  • Fixed a bug that was preventing scripts from running on client side navigation