Skip to content

[ssr] _uid is shared between requests #5573

@pi0

Description

@pi0

Version

2.3.1

Reproduction link

https://github.com/pi0/nuxt-test/blob/ssr_uid/pages/index.vue#L8

Steps to reproduce

This tests are based on this branch of nuxt.js which brings 2.3.x runInNewContext compatibility to nuxt.js. But can be reproduced with any other setup with runInNewContext set to false.

What is expected?

_uid should be incremented on context and reset after every request

What is actually happening?

It is being shared across requests and each request affects next one.

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