react-router
view-transitions | react-router | |
---|---|---|
16 | 166 | |
822 | 53,381 | |
1.3% | 0.7% | |
5.9 | 9.2 | |
21 days ago | 2 days ago | |
HTML | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
view-transitions
- I created a website to upload and showcase desk setups & office workspaces, with clickable featured products in the image!
- How to use View Transitions in Hotwire Turbo
- Is there any js library to add fluid "app-like" animations to a website?
-
HTML is all you need to make a website
true, but HTML-only websites are often pretty clunky
infuriatingly, if HTML had just a bit more oomph, we could make a lot better websites with it, but they haven't been moving HTML forward as a hypermedia for decades now (see https://htmx.org for what I mean, they could implement this concept in the browser in a week, and it would change web development dramatically)
the upcoming view transitions API will help:
https://github.com/WICG/view-transitions
but, still, there are some really obvious and simple things that could be done to make HTML much more compelling (let's start by making PUT, PATCH and DELETE available in HTML!)
-
Can you achieve the same behaviour with JS?
Cool answer: Look at shared element transition. this is gonna be really cool one day, sadly not yet out of the proposal state... https://github.com/WICG/shared-element-transitions
-
The different strategies to building a cross-platform app
Native features faster: Quickest path to utilizing native features/UX improvements once they are released, no need to wait for a third party implementation. Example: shared element transitions first came to native, then were replicated on the web.
-
Barba.js – Create fluid and smooth transitions between your website’s pages
Lol yes, can’t edit now sorry.
1: https://github.com/WICG/shared-element-transitions
-
Assorted Svelte demos: conditional wrappers, page transitions, actions
I took the experimental page transition API (a.k.a. shared element transitions) for a test drive with SvelteKit, and the result was pretty slick. You’ll need Chrome Canary with the chrome://flags/#document-transition flag enabled if you want to try this one out yourself — the original tweet has a video if you don’t want to jump through those hoops. There’s a live demo and a GitHub repo if you want to see how it was accomplished.
-
SPAs: theory versus practice
Here is link number 1 - Previous text "yet"
-
I played around with Chrome's new "Shared Element Transitions"
There's also the developer guide https://github.com/WICG/shared-element-transitions/blob/main/developer-guide.md.
react-router
-
Migrating from react-router to wouter
react-router adds about 30 kB (minified) to your bundle, while wouter requires less than 4 kB. Although the react-router team has made significant efforts in version 7 to optimize its bundle size, it still feels excessive if your primary task is simply switching between a few routes.
-
Building a Scalable URL Shortener with Node.js (Part 2/2)
react-router-dom: Enables client side routing.
- 14 Super Useful React Libraries You Should Know
-
Navigate the React Developer Landscape in 2024: Essential Skills and Trends
React Router Documentation
- Validated forms with useFetcher in Remix
-
The Ultimate React Roadmap for 2024 - Learn React the Right Way
React Router is the standard routing library for React. It allows you to handle navigation in your single-page application effectively.
-
Top 23 React UI Component Libraries for Your Next Project🚀
17. React Router
-
I Built an App with Remix in 30 Minutes
Remix is built on top of React Router, which is an easy-to-use routing library that integrates seamlessly into your React applications. React Router supports nested routes, so you can render the layout for child routes inside parent layouts. This is one of the things I love. Done this way, routing just makes sense. It’s easy and intuitive to implement.
-
How to Start & Setup a React project in 2024 (7 Different Ways Based on Use Cases)
Remix is built on top of React router, the most popular React routing library since the early days of React. Remix also uses Vite for the development server, making it fast and developer-friendly.
-
Merging Remix and React Router
We still can't upgrade past v5 because our apps do "unconventional" things like ... have a stable list of full-pathed routes that are type checked, while v6's child routes don't support full-paths.
https://github.com/remix-run/react-router/discussions/10288
What are some alternatives?
Svelte - web development for the rest of us
wouter - 🥢 A minimalist-friendly ~2.1KB routing for React and Preact
vue-flip-starport
vite - Next generation frontend tooling. It's fast!
vue-starport - 🛰 Shared component across routes with animations
Router5 - Flexible and powerful universal routing solution
flipjs - A helper library for doing FLIP animations.
react-router-redux
sveltekit-view-transitions - Page transitions in SvelteKit with the View Transition API.
universal-router - A simple middleware-style router for isomorphic JavaScript web apps
navigation-api - The new navigation API provides a new interface for navigations and session history, with a focus on single-page application navigations.
redux-router - Redux bindings for React Router – keep your router state inside your Redux store