Skip to content

Why not pushState only on 'success'? #418

@liquidscorpio

Description

@liquidscorpio

I guess, a mailing list would have been a better choice for this. But I could not find one.

pjax calls pushState when readyState > 0 (refer line numbers 350-356). Should the state be not updated only when the request has been successful (some where around line 320)?

What is the thought/convention behind calling pushState the way it is being done?

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