Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch suggest page to react-jsonschema-form? #561

Open
baltpeter opened this issue Mar 20, 2021 · 6 comments
Open

Switch suggest page to react-jsonschema-form? #561

baltpeter opened this issue Mar 20, 2021 · 6 comments

Comments

@baltpeter
Copy link
Member

Unfortunately, brutusin/json-forms has been unmaintained for a while and we're seeing a number of issues in our usage. I have recently discovered react-jsonschema-form which may be a good alternative.

@baltpeter baltpeter self-assigned this Mar 20, 2021
@mal-tee
Copy link
Member

mal-tee commented Mar 20, 2021

Might be interesting for datenanfragen/company-json-generator#17 as well

@baltpeter baltpeter removed their assignment May 23, 2021
@baltpeter
Copy link
Member Author

Another option that I have not yet evaluated: https://github.com/json-editor/json-editor

@baltpeter
Copy link
Member Author

Yet another contender: https://github.com/iway1/react-ts-form (shouldn't be too hard to automatically generate a zod schema from our JSON schema).

@baltpeter
Copy link
Member Author

I've just had a look at the docs and demo of react-jsonschema-form. Looks pretty cool, seems well maintained, and from what I've seen, it supports everything we're looking for.

I haven't really looked closer into json-editor/json-editor because that is not React-based and I would definitely prefer something with native React support. Our previous approach with brutusin/json-forms really wasn't clean.

I haven't really looked into react-ts-form either. At first glance, it seems less comprehensive than react-jsonschema-form.

@christian-weiss
Copy link
Contributor

brutusin/json-forms is unmaintained, but there are 2 active maintained forks:
https://github.com/saicheck2233/json-forms (106 commits ahead of origin)
https://github.com/WSUCEG-7140/Team-Alpha (141 commits ahead of origin)

I did not look into these 3 packages, so i do not want to judge about "cleanness of this approach", but i dislike that version string is at 0.0.0 and no releases published at npmjs.com.

Maybe an option, if we do not want to change much...

@baltpeter
Copy link
Member Author

For the record, some more relevant discussion on why brutusin/json-forms is not an option: datenanfragen/company-json-generator#17

But I have also already started (and mostly completed) work on a custom React JSON schema form component that works really well for our purposes. Unfortunately, there are too many things on my plate right now, so I haven't found the time to publish it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants