Skip to content

[Vue3] [React] window.history.state is null causing errors after upgrading to 2.0.3 #2204

Closed
@davidwessman

Description

@davidwessman

Version:

  • @inertiajs/vue3 version: 2.0.3

Describe the problem:

Before upgrading to 2.0.2 we had tests failing due to #2195.
Then we waited for 2.0.3 fixing the first issue, but as soon as we deployed to production we started receiving other errors of similar nature.

We might be doing something bad in these views, it seems related to some navigation but I cannot pinpoint it.

TypeError
window.history.state is null
Image

Steps to reproduce:

I cannot reproduce it, but the errors were rolling into Sentry until we reverted.
Will try to make an example if I can :/

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