Skip to content

redux-persist:cannot process cyclical state #182

@vickysongang

Description

@vickysongang

Hey,I encounter a problem like this:

      redux-persist:cannot process cyclical state.
      Consider changing your state structure to have no cycles.
      Alternatively blacklist the corresponding reducer key.
      Cycle encounted at key "context" with value "[object Object]"

And my state structure is:

    {
          "activeConversation": "223sssse234234",
          "client": IMClient, // object
          "convById": Map()   // Map, store the conversation object
          "msgById": Map()    // Map, store the message object
          convListSortedByUpdatedTimeList(), // store the message ids
    }

so how can I resolve the problem? I need your help,thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions