Skip to content

Cached Vuex getters with SSR #147

Open
@gustojs

Description

@gustojs

Right now the only issue I get is a result of cached Vuex getters (which are of course cached by design). So when I log out, the state in Vuex shows the user object is empty, but the getter shows the user is still there. And when I log in, the getter shows the user is not available even if the user is in the state.

This leads to "different content on client" message (because the getters in client-side Vuex are recomputed) in views that depend on the getters and reloading whole DOM with client-side code. Other views are fine.

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