Skip to content

JS Error On Non-Inertia Pages #134

Open
@jakemumu

Description

@jakemumu

Hi! Just getting setup with inertia and it's awesome -- I do notice this error though. I'm only planning to use inertia on some pages of my rails app -- but I initialize it on my entrypoint/application.js

When I hit a route which doesn't not render via inertia I get this crash from the initialization of inertia:

Screenshot 2024-10-11 at 10 08 10 AM Screenshot 2024-10-11 at 10 06 42 AM

Is there a way to avoid this? -- I don't see a way at the moment

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