Skip to content

stateReconciler question #425

Closed
Closed
@Noitidart

Description

@Noitidart

I am using v4. I have a key in my store called files, its shape is like this:

{
    files: {
        1: { data: base64_data_here }
    }
}

My goal is to modify redux-persist so that it creates a file for each entry in this files key, and only if the reference of files[i] changes. stateReconciler is currently creating a file per main key in the store correct? So it is writing all entries in my files object everytime any entry changes. Is it possible to accomplish my goal of writing to file each subkey, and only if reference changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions