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

Support React form fields #995

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Support React form fields #995

wants to merge 14 commits into from

Conversation

markspolakovs
Copy link
Member

With this, you can use a React (well actually Preact) component as a MyRadioFormField semi-seamlessly.

Caveats:

  • It uses ES Modules, so no bundling/minification is performed on the field file
  • It uses Preact rather than React (because React doesn't properly support ESM)
    • TODO: add preact/compat so we can use all React libraries (need to figure out how on earth preact/compat works with ESM)

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

Successfully merging this pull request may close these issues.

None yet

1 participant