Skip to content

v0.6.0

Compare
Choose a tag to compare
@ryansolid ryansolid released this 07 May 12:06

Solid is smaller than ever!

v0.6.0 brings a Tree Shakeable runtime. This means when Solid used with JSX the compiler can intelligently only include the code that is being used.

This is a breaking change in that:

  • No longer need to import 'r' and selectWhen and selectEach directives have been moved to solid-js from solid-js/dom. You should not need to import from 'solid-js/dom' directly anymore as your compiled code will do it automatically.
  • HyperScript and Lit imports have been made the default import now.. ex:
import html from 'solid-js/html'
  • Tidied up the compiled template code. This should make it much nicer to debug when not minified.