• Feed
  • Discussions
history api

history api

#history-api
0 followers·2 articles

history api

#history-api·0 followers·2 articles
history api
Jake
Jake
gcee.hashnode.dev·Jul 08, 2024
Jul 08, 2024

History API를 사용하여 뒤로가기 막기 (Next.js)

사내 프로젝트에서 특정 페이지에서 뒤로가기 이벤트를 실행 시 모달을 띄우는 요구사항 구현을 정리하였습니다. History API란? MDNHistory API는 브라우저의 세션 기록(탭이나 프레임에서 현재 페이지가 로드된 기록)에 접근할 수 있는 기능을 제공합니다. 이를 통해 사용자는 뒤로 가기와 앞으로 가기, 그리고 히스토리 스택의 내용을 조작할 수 있습니다. 이 API는 메인 스레드(Window)에서만 사용할 수 있으며, Worker나 W...

History API를 사용하여 뒤로가기 막기 (Next.js)
Discuss·439 reads
Feature Development
Next.js
Cesar Roman
Cesar Roman
blog.cesartheroman.com·Aug 02, 2023
Aug 02, 2023

Day 3 Overview: Routing + Web Components

Browser Routing & History API Single Page Applications: how to change the content The idea of a SPA, vs a multi-page app, is that we’re only using one HTML page that will render all of our content. Otherwise, we would need multiple HTML pages for eac...

Day 3 Overview: Routing + Web Components
Discuss·28 reads
Working through FEM's: VanillaJS Course
vanilla-js

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

🛍️ Bion: The App That Pays You Crypto Just for Shopping (No Strings Attached)

Ekemini David ·19 reads

Stonfi amd TON wallet effecting US

Wissy Ak·28 reads

From HODLing to Living — How Bion is Unlocking Real-World Utility for Your Crypto

Edimavouge·23 reads

Top commenters this week

1 -
1 -
Anik Sikder
Anik Sikder
Jaime David
Jaime David
nandini
nandini
Leah Grant
Leah Grant

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior