Skip to content

v0.20.0 - Optimizations

Compare
Choose a tag to compare
@riccardoperra riccardoperra released this 14 Jun 22:17
· 700 commits to main since this release
8959313

This is the first CodeImage version which mainly focus on improving bundle size and page loading. v0.20.0 is the first step following the hackathon end that manage to fix a part of the choices that had been made during the first months of development

  • Most of the packages has been reorganized, dividing the build content into several chunks to be loaded lazily.
  • Thanks to Suspense, each portion of the page that need to be rendered in an asynchronous way, will show a custom skeleton loading fallback until it's ready for use.

Example of suspense loading

Note Enabling the cache, loading will be significantly faster and loading will be halved. Service worker is currently disabled
Screenshot used for the the gif above have been made using "Slow 3G" and disabled cache, so each assets including fonts were loaded the first time

What's Changed

Performance results

Desktop (before)

173255284-eadaa68d-b909-4956-bd6b-5f565328f9e9

Desktop (After)

173255189-ffd0e3a1-28a1-42ac-ab5e-8980b49b6105

Mobile (before)

173255275-fed417ec-e8d2-4168-8032-d6de7ad41c61

Mobile (After)

173255259-73ce3f4a-85c3-41c6-a560-73610093530e

Full Changelog: v0.19.2...v0.20.0