V
V
Vladimir T.2019-05-24 07:44:39
Debugging
Vladimir T., 2019-05-24 07:44:39

How to programmatically unload store from Redux Debugger?

There is a SPA application on React + Redux. Instead of asking clients how to reproduce the bug, I want to take the change log of the store, load it into the debugger and see what the user did on the page. In the Redux debugger, I found the Import and Export buttons, which allow you to save and later reproduce the state with the entire history of changes. How to make an export programmatically - automatically save store snapshots to the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir T., 2019-05-24
@vachuahe

Understood :) I looked at the export format. There are only 2 options:

{
    payload // Массив действий (actions)
    preloadedState // Исходное состояние
}

I will collect actions according to given scenarios into an array and send them periodically to the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question