v0.1.0-canary.13
Pre-release
Pre-release
jonathantneal
released this
08 Mar 19:38
·
404 commits
to canary
since this release
Canary Release: 0.1.0-canary.13
🚀
yarn add @stitches/react@0.1.0-canary.13
- Fixed issues composing together and passing along variants, compoundVariants, and defaultVariants.
- Reduced how often the DOM is modified without reducing how quickly it is updated.
- Changed the
theme
function to return an object instead of another function. - Added DOM injection to core.
- Added the ability to create a component extended from an unlimited number of other components.
- Added an
insertMethod
feature that lets authors override the default DOM insertion method. By default, a stylesheet willprepend
it to the beginning ofdocument.head
. Passingappend
changes the insertion method toappend
it to the end ofdocument.head
. Passing a function gives the author full control over how stitches inserts CSS to the document.
Migrating from alpha to beta? Here’s a migration guide.