React 19 / Server components support #1462
Replies: 2 comments 6 replies
-
@edhollinghurst thanks for your kind works. because React 19 is still in pre-release (lats time I checked) we did not release a compatible version. However, it is planned. Currently, SSR is supported provided the component mapper you are using is compatible (components are not directly accessing browser API within initial render, etc). When it comes to Server components. AFAIK that all depends on your project build configuration. We are not planning the In other words, you should be able to use the current version of DDF in React 19 with server components as long as you write your component with the FormRenderer as a server component and follow the export guide. We have not tested this yet, but is something we will explore. I'd be happy for any experiments from your side as it will definitely help us. Both @rvsia and I have packed schedules with our "real work" so we welcome any help we can get 🙂 . |
Beta Was this translation helpful? Give feedback.
-
Thanks @Hyperkid123! It's good to hear that support for React 19 is planned. I've created a very simple demo using Data Driven forms with React 19 and NextJS Canary, and deployed this to https://data-driven-forms-react-19.vercel.app/. The code is at https://github.com/edhollinghurst/ddf-react-19. It's working okay, however I did need to use the I take it this is more an issue with React Final Form rather than Date Driven Forms? |
Beta Was this translation helpful? Give feedback.
-
Thanks for maintaining such a useful library!
I just wondered whether this React Data Driven Forms is compatible with React 19 and/or being used in Server components?
If there's anything I can do in terms of this (testing etc.) I'd be happy to help.
Beta Was this translation helpful? Give feedback.
All reactions