Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
routing

8 Articles
Direct link to the article Native JavaScript Routing?
React Router routing

Native JavaScript Routing?

We can update the URL in JavaScript. We’ve got the APIs pushState and replaceState:

// Adds to browser history history.pushState({}, "About Page", "/about"); // Doesn't history.replaceState({}, "About Page", "/about");

JavaScript is also capable of replacing any content in the …

Chris Coyier on Aug 23, 2021
Direct link to the article #173: Ooooops I guess we’re full-stack developers now.
full stack graphql react routing

#173: Ooooops I guess we’re full-stack developers now.

And by “we’re”, I mean us, front-end developers ;)

Here’s the website that goes with this talk.

This is a talk I put together where I postulate that, over time, the breadth of what front-end developers are able to do …

Chris Coyier on Aug 7, 2019
Direct link to the article Creating Dynamic Routes in a Nuxt Application
nuxt routing vue vuex

Creating Dynamic Routes in a Nuxt Application

In this post, we’ll be using an ecommerce store demo I built and deployed to Netlify to show how we can make dynamic routes for incoming data. It’s a fairly common use-case: you get data from an API, and you …

Sarah Drasner on Jul 31, 2019
Direct link to the article Storing and Using the Last Known Route in Vue
routing vue vue animations

Storing and Using the Last Known Route in Vue

There are situations where keeping a reference to the last route a user visited can come in handy. For example, let’s say we’re working with a multi-step form and the user proceeds from one step to the next. It would …

Mateusz Rybczonek on Jan 2, 2019
Direct link to the article Let’s Build a Custom Vue Router
routing vue

Let’s Build a Custom Vue Router

Plenty of tutorials exist that do a great job explaining how Vue’s official routing library, vue-router, can be integrated into an existing Vue application. vue-router does a fantastic job by providing us with the items needed to map an …

Hassan Djirdeh on Aug 17, 2022
Direct link to the article All About React Router 4
react routing

All About React Router 4

This post is going to dig into to React Router 4, how it's so different from previous React Router versions, and why that is. My intentions for this article aren't to rehash the already well-written documentation for React Router 4. I will cover the most common API concepts, but the real focus is on patterns and strategies that I've found to be successful.

Brad Westfall on Mar 28, 2019
Direct link to the article Simple Server Side Rendering, Routing, and Page Transitions with Nuxt.js
nuxt page transitions routing server side rendering vue

Simple Server Side Rendering, Routing, and Page Transitions with Nuxt.js

A bit of a wordy title, huh? What is server side rendering? What does it have to do with routing and page transitions? What the heck is Nuxt.js? Funnily enough, even though it sounds complex, working with Nuxt.js and exploring …

Sarah Drasner on Jul 24, 2017
Direct link to the article Leveling up with React: React Router
react routing

Leveling up with React: React Router

This tutorial is the first of a three-part series on React by Brad Westfall. When Brad pitched me this, he pointed out there are a good amount of tutorials on getting started in React, but not as much about …

Brad Westfall on Jul 16, 2018

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top