Skip to content

[App Rotuer] Inconsistent Client Scope with shallow app routing #32

Description

@Krakazybik

Problem:

There is no painless and non-deprecated way to invalidate client scope data when using shallow routing.

When navigating to a new page in shallow routing mode, the values in the client scope are not updated if they have changed to default values, because serialize returns only the modified values and hack inject updates the values based on them.

Process Illustration:

image

Screen.Recording.2024-07-20.at.19.06.43.mov

Expected Result:

During navigation, if the value of any store has been changed to the default value, it should be invalidated in the client scope.

Reproduction:

https://github.com/Krakazybik/effector-shallow-routing-inconsistency/tree/main

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions