Skip to content

v0.1.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@drinking-code drinking-code released this 06 Apr 01:12
· 44 commits to master since this release
52f3e69

Making cherry-soda work in a real project.
Many bugfixes:

  • bug where the projects tsconfig.json would not be read
  • bug where files from node_modules couldn't be resolved
  • bug where importing non-module sass files would throw
  • bug where sass' '~' for node_modules would be resolved correctly
  • bug where components wouldn't render correctly
  • bug with the lexical scope extraction
  • bug where state listeners on multiple state would be called more than once on load
  • bug with node path generation (internal)
  • bug where imported stylesheets wouldn't be in the correct order in the bundle
  • bug where styles wouldn't be loaded on the first load
  • and some more

New features / implementations:

  • assets (images and fonts) are now served if they're imported (via stylesheet or in JavaScript)
  • className and id can now be arrays and will be converted automatically, allowing for <div className={[classOne, condition && classTwo]}>
  • style attribute supports objects now
  • state usages can be used in props now