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

Export: Simplify state tree - remove Immutable.js #3099

Merged
merged 1 commit into from
Feb 5, 2016

Conversation

jordwest
Copy link
Contributor

@jordwest jordwest commented Feb 5, 2016

This change removes Immutable.js objects from the Exporter, moving instead to plain JS objects. There should be no functionality changes.

This change was prompted for a few reasons:

  • The rest of the state tree has moved forward with plain JS objects
  • Simpler serialization/deserialization as introduced in Framework: persist redux state #2754
  • Simpler, standard and idiomatic reducer functions

Testing:

  1. Go to /settings/export, click the Export All button. Ensure a success message is displayed.
  2. Run (cd client/state/site-settings/exporter && make test) ensuring tests pass

cc @dllh @aduth @dmsnell

@jordwest jordwest added Export [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Feb 5, 2016
@jordwest jordwest self-assigned this Feb 5, 2016
@jordwest jordwest added this to the Export: First Release milestone Feb 5, 2016
@gwwar
Copy link
Contributor

gwwar commented Feb 5, 2016

👍 Tested in Chrome, FF, Safari, IE 11, and Edge.

@gwwar gwwar added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Feb 5, 2016
jordwest added a commit that referenced this pull request Feb 5, 2016
…ucer-state

Export: Simplify state tree - remove Immutable.js
@jordwest jordwest merged commit fb83eac into master Feb 5, 2016
@jordwest jordwest deleted the update/exporter/simplify-reducer-state branch February 5, 2016 01:50
@jordwest
Copy link
Contributor Author

jordwest commented Feb 5, 2016

Thanks for the super speedy response @gwwar!

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

Successfully merging this pull request may close these issues.

3 participants