Skip to content

Hot-reload with query string #3000

Closed
Closed
@MichaelDeBoey

Description

@MichaelDeBoey

Hi there!

I was wondering if it's possible to use a query string with the hot-reload?

Right now if I go to http://localhost:3000, my app will check if the mandatory GET parameters are present.
If so, the app will continue.
If not, the app will show an error.

So what I'm trying to do is going to http://localhost:3000?param1=value1&param2=value2.
When I than chance the code, the app hot-reloads I lose the GET parameters (and my whole (Redux) state also 😕).

Is there a way to keep the query string (or to keep my state) on hot-reload?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions