0

This's my first react and redux project. I'm try to learning by doing from main redux repo's examples and i can't find an example for todomvc async in that repo.

Finally i've found an excellence tutorial about redux todomvc async and i'v added this patch to existing redux todomvc app.

If you see my patch you will see i'm try to add snapshot data when interact with remote server and use for reject change data back when got an error response from server.

My questions:

  • What's the best practice to do for about something like i'm trying?
  • How i can store snapshot? or
  • What's best practice to reject change the data?

Thanks for advance.

Dos
  • 841
  • 10
  • 23

1 Answers1

0

I got the answer, see in detail http://redux.js.org/docs/recipes/ImplementingUndoHistory.html

Dos
  • 841
  • 10
  • 23