Using the History API - JavaScript Tutorial
HTML-код
- Опубликовано: 10 сен 2024
- In today's video we're going to be taking a look at the History API and in particular, the "pushState()" method. The History API makes it easy for you to create Single Page Applications (SPA).
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozi...
Follow me on Twitter @dcodeyt!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript #html5
This video is very helpful for understanding history API and how modern framework router do.
Never going to forget this voice…"hey guys how u doing, my name is Dom...."
The best Tutorial bout History! Thank you!
Just in time Dom. I started building multiple JS projects and wondering how can I convert that into a SPA so that if the user clicks on links on the sidebar, I'm looking to load respective projects using Vanilla JS.
I tried it looking at examples existing on web, but most of them are loading just the HTML content (.html files), but what if I have individual folders with respective HTML, CSS, and JS files.
Waiting for the SPA video
I definitely thought I was gonna learn about the history of API. Great video!
I dont mean to be so off topic but does someone know of a method to log back into an instagram account??
I stupidly lost the login password. I love any tricks you can give me
@Oscar Dallas instablaster :)
@Will Hayes I really appreciate your reply. I got to the site thru google and Im waiting for the hacking stuff now.
I see it takes a while so I will get back to you later with my results.
@Will Hayes it worked and I actually got access to my account again. I am so happy:D
Thank you so much you saved my account !
What has happened to my comment?
Thanks for the well explained video!
anyway to detect if there is a foward or back state?
tysm for this video. Very helpful.
Thanks for what you're doing
Great, useful a video thank you 🤩
Awesome as always
Thanks, very interesting video!)
Could you please say, what theme do you use in VS code:)?
How about on refresh or page load is there an event listener for that similar to popstate?
yes, hashchange
Popstate no working on chrome android . Can any body help ?
make a video on Window.requestanimationframe
Some click @ spa, envadeing privacy, tag, target device.