July 4, 2024
Improved compatibility with React Server Components
The React examples in
Tailwind UI are now easier to use with React Server Components (RSC).
Server components don't support passing functions as props, so anywhere we did that in Tailwind UI you'd need to make the parent a client component, even when that component had no actual...