v0.17.3
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