# story
-
JavaScript _ 2022-11-15
Anchor links pointing to a fragment fires History API's "popstate" event
I hit an interesting "bug" while working on a SPA application. Clicking an anchor link that points to a fragment on the page fires the History API's
popstateevent. This triggers some logic on my end, which was not my intent. I fixed that with a bit of JavaScript, and I had to share the snippet. -
Inspiration _ 2021-10-05
Get to know Kent C. Dodds
A short movie for Kent C. Dodds.
-
Inspiration _ 2020-03-03
GraphQL: the documentary
Starring Lee Byron, Dan Schafer and Nick Schrock (co-creators of GraphQL) and other big names from the #GraphQL community, "GraphQL: The Documentary" explores the story of why and how GraphQL came to be and the impact it's having on big #tech companies worldwide, including Facebook, Twitter, Airbnb and Github.
-
Inspiration _ 2020-02-28
Vue.js documentary
With the help of Sarah Drasner, Taylor Otwell, Thorsten Lünborg and many others from the Vue.js community, Evan You tells the story of how he fought against the odds to bring Vuejs to life.
-
JavaScript _ 2014-02-21
A modern JavaScript router in 100 lines
(The router here is now placed in its own project - Navigo. There is also another article Deep dive into client-side routing which you may find interesting)
Nowadays the popular single page applications are everywhere. Having such application means that you need a solid routing mechanism. Frameworks like Emberjs are truly build on top of a Router class. I'm still not sure that this is a concept which I like, but I'm absolutely sure that AbsurdJS should have a build-in Router. And, as with everything in this little library, it should be small, simple class. Let's see how such a module may look like.