Skip to content

0.1.1

Compare
Choose a tag to compare
@rauchg rauchg released this 18 Dec 23:48
· 336 commits to main since this release

Minor Changes

  • Make data-jsx use number literals instead of string literals for better memory / diff performance [@rauchg]

Patches

  • It's now possible to combine a global and scoped style in the same component (#41) [@rauchg]

    export default () => (
      <div>
        <p>hi</p>
        <style jsx global>{`
          body {
            background: red
          }
        `}</style>
        <style jsx>{`p { color: red; }`}</style>
      </div>
    )