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

Feature/rebasing #233

Merged
merged 8 commits into from
Jul 18, 2019
Merged

Conversation

dxinteractive
Copy link
Collaborator

@dxinteractive dxinteractive commented Jul 17, 2019

dataparcels

  • add: make frameMeta based off ChangeRequest.nextFrameMeta
    • Changes can then describe meta for the resulting parcel update and re-render. This will be used by react-dataparcels to set the merge mode when a change is about to take place, as the change is the thing that knows which merge mode that is appropriate

react-dataparcels

  • add: rebase option on useParcelState and useParcelForm
    • this will allow changes from props to slide in underneath changes in useParcelBuffer hooks and ParcelBoundaries, so data can change without losing unsaved changes.
  • add: post-sideeffecthook changes now rebase underneath buffered changes
    • almost more of a fix than a feature... this allows changes made after a submit() to not get replaced once a promise returned by onSubmit resolves. Only affects cases where onSubmitUseResult is not used. If onSubmitUseResult then replacing the value is the right behaviour.

Changes can then describe meta for the resulting parcel update and re-render
This will be used by react-dataparcels to set the merge mode when a change
is about to take place, as the change is thee thing that knows which merge mode
that is appropriate
this will allow changes from props to slide in underneath changes
in useParcelBuffer hooks and ParcelBoundaries, so data can change
without losing unsaved changes.
@dxinteractive dxinteractive merged commit bcff04b into release/cumbersome-crocodile Jul 18, 2019
@dxinteractive dxinteractive deleted the feature/rebasing branch July 27, 2019 02:35
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

2 participants