DEV Community

Cover image for History API in One Byte Explanation
Đăng Tú
Đăng Tú

Posted on

1 1 2

History API in One Byte Explanation

This is a submission for DEV Challenge v24.03.20, One Byte Explainer: Browser API or Feature.

Explainer

Browser session history is managed by states and this API helps us to modify and query it. Along pushing, replacing states and tracking it with popstate event, we can navigate visitors to go back, forward or jump to specific point of the history.

Additional Context

MDN reference | cover credit to Joanna Kosinska

I'm a simple old-school guy who just tried to munch a lot information in a bite, yes pun intend >:) Hopefully it won't choke any reader ;)

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️