Skip to content

Is it better to put parameters in hash? #8

Description

@wh0

To make it clearer to the sever as well as the browser that it's all the same .html file.

Downside is we manually have to detect hashchange events to load another file.

See our current code for reading url paramters

const options = new URL(window.location).searchParams;
const cacheBase = options.get('cache_base');
const hash = options.get('hash');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions