Skip to content

Conversation

@zerobias
Copy link
Member

No description provided.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@zerobias zerobias mentioned this pull request May 20, 2023
75 tasks
@zerobias zerobias added this to the effector Spacewatch 23.0.0 milestone May 20, 2023
sergeysova added a commit that referenced this pull request Jun 10, 2023
@sergeysova sergeysova changed the base branch from master to release/v23 July 6, 2023 06:41
@zerobias zerobias merged commit b947a13 into release/v23 Jul 19, 2023
@zerobias zerobias deleted the deprecate-onlyChanges branch July 19, 2023 13:17
@darky
Copy link
Contributor

darky commented Oct 4, 2024

Why it was deprecated? How to serialize onlyChanges in future Effector 24?

@kireevmp
Copy link
Contributor

kireevmp commented Oct 9, 2024

Hey @darky,
Starting from Effector 22, onlyChanges: true is the default option for serialize (changelog).

In this PR, we're only deprecating the old fork + serialize behavior, which specifically required explicitly passing a Domain to track units.

Since v22, Domain is no longer necessary, so both fork(domain) and serialize(scope, { onlyChanges: false }) are deprecated.

@darky
Copy link
Contributor

darky commented Oct 9, 2024

@kireevmp thanks for explanation! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants