Skip to content

v0.17.3

Compare
Choose a tag to compare
@Valerioageno Valerioageno released this 19 Jan 15:27
· 81 commits to main since this release
6be12b4

What's Changed

  • fix: propagate build error and check if js files exist by @LeNei in #297
  • fix: create a component tree that matches between client and server to avoid useId output mismatch by @Valerioageno in #371

Breaking change

Now the root __layout.tsx component requires to import <TuonoScript /> in the html body

import type { ReactNode, JSX } from 'react'
import { TuonoScripts } from 'tuono'

interface RootLayoutProps {
  children: ReactNode
}

export default function RootLayout({ children }: RootLayoutProps): JSX.Element {
  return (
    <html>
      <head>
      </head>
      <body>
        {children}
        <TuonoScripts />
      </body>
    </html>
  )
}

New Contributors

Full Changelog: v0.17.2...v0.17.3