Skip to content

v2.1.0

Choose a tag to compare

@ghivert ghivert released this 19 Apr 16:04
· 199 commits to main since this release
771d414

Improvements

Sketch now targets BEAM as well as JS! This is a major milestone, and unlocks new possibilities. Some bugs can still be hidden in the BEAM codebase, so open an issue for anything! But sketch can now become the ultimate CSS-in-Gleam tool, to help building UI better than ever!

What's Changed

  • class does not memo by default anymore. memo should be used on selected class, to have a more lightweight stylesheet transmitted in server components. This can reduce the output bandwidth.
  • sketch can be used on BEAM target, with both SSR, pure gleam or lustre!
  • More documentation added
  • Most of the transform code has been rewrote in gleam, reducing the JS part
  • Cache algorithm has been ported to gleam

Full Changelog: v2.0.0...v2.1.0