BearStudio / formiz

🐜 React forms with ease! Composable, headless & with built-in multi steps
https://formiz-react.com/
MIT License
390 stars 50 forks source link

Hydration - SSR #177

Closed danielgaming412 closed 1 year ago

danielgaming412 commented 1 year ago

Hey guys,

First, thanks for this repo. I find it quite easy and straightforward. Wizzard forms are easy to do now. But unfortunately, I run with SSR issues while loading the form.

Capture d’écran 2023-04-11 à 20 30 01

I have another question, are you guys planning on releasing the v2 soon?

thanx

yoannfleurydev commented 1 year ago

Hi there, this will be fixed with the v2 as we are using the useId provided by React. In the meantime, you can set your Formiz id yourself as explained by the documentation https://formiz-react.com/docs/core/formiz/#id

The v2 is in alpha stage, a beta is coming really soon (matter of days or small weeks now, we have a busy schedule in April)

You can follow the updates on this PR https://github.com/ivan-dalmet/formiz/pull/136

danielgaming412 commented 1 year ago

My Bad, missed it in the doc.. Thanks Yoann!

If it's a matter of weeks for the v2 to be released, I'll deploy my app in prod with formiz in v1. It already does the job.

I'll stay tuned, good luck.

FUN FACT: ChatGPT told me about Formiz ;)

yoannfleurydev commented 1 year ago

If it's a matter of weeks for the v2 to be released, I'll deploy my app in prod with formiz in v1. It already does the job.

Yes, it clearly does the job. Also we will provide a migration guide to help developers to migrate easily. We will post a discussion when the beta will be available.

FUN FACT: ChatGPT told me about Formiz ;)

Thanks for letting us know!