Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Implement local change persistence #1

Open
mspae opened this issue Sep 26, 2018 · 0 comments
Open

Implement local change persistence #1

mspae opened this issue Sep 26, 2018 · 0 comments
Labels
drupal-editable Should go into https://github.com/1xINTERNET/drupal-editable enhancement New feature or request implement as submodule

Comments

@mspae
Copy link
Contributor

mspae commented Sep 26, 2018

This should be implemented as a submodule which adds

  • change reducer/state slice
  • middleware to persist this state in localstorage

Also the EditableEntity component needs to:

  • provide a bool prop (f.x. persistChanges)
  • cache the changes on change if this prop is set
  • check for the existence of cached changes on mount in the new reducer (if available)
@mspae mspae added enhancement New feature or request implement as submodule drupal-editable Should go into https://github.com/1xINTERNET/drupal-editable labels Sep 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
drupal-editable Should go into https://github.com/1xINTERNET/drupal-editable enhancement New feature or request implement as submodule
Projects
None yet
Development

No branches or pull requests

1 participant