Skip to content

Replacement of values during fork brakes serialization ignore #609

@igorkamyshev

Description

@igorkamyshev

What is the current behavior:

  1. Create non-serializable store (with serialize: 'ignore')
  2. Change its value during fork
  3. Serialize fork values
  4. Value of store will be serialized

Please provide the steps to reproduce and if possible a minimal demo of the problem via https://share.effector.dev, https://codesandbox.io or similar

https://share.effector.dev/CNYd8jSq

What is the expected behavior:

  1. Create non-serializable store (with serialize: 'ignore')
  2. Change its value during fork
  3. Serialize fork values
  4. Value of store won't be serialized

Which versions of effector packages, and which browser and OS are affected by this issue? Did this work in previous versions of effector?:

master

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions