-
Notifications
You must be signed in to change notification settings - Fork 274
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
FIO-7733: React Updates #568
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Rewrites of the major components (Form, FormBuilder, FormGrid, SubmissionGrid, etc.) to idiomatic React and Typescript * Tooling updates (eslint, typescript, no more babel, etc.) * Many more...
7 tasks
johnformio
reviewed
Jun 3, 2024
HannaKurban
approved these changes
Jun 5, 2024
…erences into event handlers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Link to Jira Ticket
https://formio.atlassian.net/browse/FIO-7733
Description
General Updates
Updates to Components (
<Form />
,<FormBuilder />
,<FormGrid />
, <SubmissionGrid
>)src
prop to resemble thecreateForm
API (i.e. it takes either a form definition or a form url)useFormioContext
andusePagination
hooksBreaking Changes / Backwards Compatibility
**** PLEASE READ **** This update introduces a number of breaking changes to the library, namely in the form of new hooks, new context consumer requirements for the
<FormGrid />,
<FormEdit />
, and<SubmissionGrid />
components, and updated prop names. Additionally, the new styling API for<FormGrid />,
<FormEdit />
, and<SubmissionGrid />
are no longer coupled to Boostrap - anyone using those components will need to re-style them.Dependencies
How has this PR been tested?
I've loaded this PR into a simple Next.js application to ensure everything works as expected. Also, now that we've moved away from karma, I expect to add more tests in the next major PR to this library. I did however add a small few tests.
Checklist: