0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

213 commits

Author SHA1 Message Date
Tanner Linsley
15f7ea4358 feat: bring back server utils via tanstack/react-router-server 2023-12-05 14:24:08 -07:00
Tanner Linsley
36d774bc36 fix: do not recreate history on fast refresh 2023-12-04 09:24:15 -07:00
Tanner Linsley
4a792144eb feat: Big refactor to React only
There are many breaking changes in this release:
- The Router class no longer has many of the methods it had.
- Most of these methods have been moved to the new routerContext, which is served via the useRouter() hook
- React state is being used for all state management, which should set the stage for better transition/suspense support
- Router Context and route context has been renamed to Router Meta and Route Meta
- Loaders are gone. You can still force a route to wait for an async function via `beforeLoad`, which is serial or `load` which is parallel.
- There's a lot of other changes, but I'm too tired to think straight.
2023-11-05 01:38:08 -06:00
Tanner Linsley
00c49279be fix: build order 2023-10-27 10:14:02 -06:00
Tanner Linsley
9a875cb423 fix: react-search-state 2023-10-27 05:28:22 -07:00
Tanner Linsley
670679bb0e feat: history package 2023-10-25 14:02:36 -07:00
Tanner Linsley
9995e8975e fix: expose onEnter, onTransition, onLeave route options. 2023-09-01 12:13:23 -06:00
Tanner Linsley
79ff2e80fe fix: lock release versions together 2023-08-11 10:58:12 -04:00
Tanner Linsley
fb3f9c0025 checkpoint 2023-08-10 10:39:25 -04:00
Tanner Linsley
4767648c15 fix: framework agnostic packages 2023-08-08 18:34:31 -06:00
Tanner Linsley
a2d96d15b4
Update publish.ts 2023-07-12 10:41:18 -06:00
Tanner Linsley
20fb9c0fd8
Update publish.ts 2023-07-12 10:37:41 -06:00
Tanner Linsley
f2dbdd5927 fix: SSR 2023-07-11 17:39:42 -06:00
Tanner Linsley
903ec89b2d Update publish.ts 2023-04-18 13:50:14 -06:00
Tanner Linsley
728a4fcb76 checkpoint 2023-02-21 15:45:46 -07:00
Tanner Linsley
b87a7a0fc1 Checkpoint 2023-02-17 10:52:09 -07:00
Tanner Linsley
88a14c93f9 checkpoint 2023-02-13 15:50:42 -07:00
Tanner Scadden
318882605f
fix: Adding wrappers around the error boundaries for temporary patch (#525) 2023-02-10 16:22:10 -07:00
Tanner Linsley
a8af239ef3 fix: again 2023-02-10 11:35:53 -07:00
Tanner Linsley
ac4dd93230 fix: reorder solid-store build 2023-02-10 11:27:44 -07:00
Tanner Scadden
96f2f02d08 fix: Solid router adapter (#516)
* getting started

* Fixed babel settings for solidjs

* Added in typescript conversions from react

* checkpoint

* ssr checkpoint

* wip

* get it working

* move shallow to @tanstack/store

* Got context and matches working

* Got routes loading and rerendering

* Built out example app for solidjs and added in loaders

* Ported over suspense and other hooks

* Added suspense component support

* Pulled in beta and updated to use stores

* fix: test & context requirements

* release: v0.0.1-beta.69

* fix: add redirects, better errorComponents, no trailing slash bug

* release: v0.0.1-beta.70

* Auto rank routes

* fix: oops

* fix: types

* docs: route matching

* docs: more

* Add missing Link import (#388)

* fix: move window focus refetching into tanstack/loaders

* fix: allow client-level window focus refetching config

* update quick-start.md, remove duplicate Link. (#517)

* fix: docs + force release

* fix: remove test

* test: fix em

* release: v0.0.1-beta.71

* fix: force search filters on router creation

* fix: hash history link generation

Fixes #457

* release: v0.0.1-beta.72

* fix: loaders window guards

* release: v0.0.1-beta.73

* docs: fix

* fix: apply stringifyParams to links

* release: v0.0.1-beta.74

* Pulling in branch changes

* Fixed babel settings for solidjs

* Added in typescript conversions from react

* wip

* get it working

* move shallow to @tanstack/store

* Rebasing

* Updated stores and app to match react-router and react-loader

---------

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Mattia Malonni <mattia.malonni@gmail.com>
Co-authored-by: Ahmed Eid <a.eid@yandex.com>
Co-authored-by: Joseph Lozano <me@josephlozano.xyz>

* Added solid actions

* Fixed issue with suspense and noted it. Added TRPC and solid-query example

* Changed the store for reactivity and created kitchen sink example

* Removed console.log

* Updating reactivity fixes

* Updated store to use reconcile

---------

Co-authored-by: Joseph Lozano <me@josephlozano.xyz>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Mattia Malonni <mattia.malonni@gmail.com>
Co-authored-by: Ahmed Eid <a.eid@yandex.com>
2023-02-07 22:33:59 -07:00
Tanner Linsley
930344536a fix: search param partial matching for active links and MatchRoute 2023-01-29 21:35:02 -07:00
Tanner Linsley
a3155e06bb checkpoint 2023-01-27 11:34:35 -07:00
Tanner Linsley
cb336fa49b Update config.ts 2023-01-22 22:08:48 -07:00
Tanner Linsley
f91c8b8064 Update publish.ts 2023-01-22 22:06:03 -07:00
Tanner Linsley
d099bc9dbb fix: test publish 2023-01-22 21:58:15 -07:00
Tanner Linsley
7bfa08298f split to separate packages 2023-01-22 16:50:19 -07:00
Tanner Linsley
39971cf4e5 Update config.ts 2023-01-22 15:26:07 -07:00
Tanner Linsley
1d18e2c1a5 checkpoint 2023-01-22 15:10:47 -07:00
Tanner Linsley
137cc0be54 fix: publish 2023-01-03 10:19:26 -07:00
Tanner Linsley
953064ec69 fix: publish 2023-01-03 10:15:34 -07:00
Tanner Linsley
b1849f65f3 fix: publish 2023-01-01 22:53:36 -07:00
Tanner Linsley
6d51e0f60f fix: publish with pnpm (and get proper dependency resolution in packaging)
RELEASE_ALL
2023-01-01 14:01:51 -07:00
Tanner Linsley
067b49d711 fix: do not update package deps during publish any more 2022-12-31 12:02:20 -07:00
Tanner Linsley
ccbd238f8b checkpoint 2022-12-19 09:52:33 -07:00
Tanner Linsley
b4d221c910 Update publish.ts 2022-12-05 14:35:57 -07:00
Tanner Linsley
2b51caccb9 feat: Router context and RouterProvider refactor 2022-12-02 23:10:04 -07:00
Tanner Linsley
14890696bb checkpoint before pnpm 2022-11-28 08:55:52 -07:00
Tanner Linsley
d05afcfd60 Update publish.ts
RELEASE_ALL
2022-11-11 11:11:26 -07:00
Tanner Linsley
673d9a5e04 fix: remove example lock files on release commit
RELEASE_ALL
2022-11-11 11:08:19 -07:00
Tanner Linsley
f96f11f9c7 fix: remove bulk import, useMatch(route.id) 2022-10-30 22:45:50 -06:00
Tanner Linsley
10ddb6d8be devtools fix 2022-10-17 16:59:43 +01:00
Tanner Linsley
2009fdd4f2 Update config.ts 2022-10-17 16:47:00 +01:00
Tanner Linsley
6ebfe80dfc fix: build 2022-10-17 14:14:11 +01:00
Tanner Linsley
1371cc9b46 checkpoint 2022-08-18 13:10:26 -06:00
Tanner Linsley
ace45145e0 checkpoint 2022-08-12 14:57:33 -06:00
Tanner Linsley
f9943a2ca0 checkpoint 2022-08-10 08:13:07 -06:00
Tanner Linsley
2e481b6dc4 fix(lite): apply search filters correctly 2022-02-10 23:16:46 -07:00
Tanner Linsley
f5e27d5231 chore: update publish 2022-02-03 10:37:33 -07:00
Tanner Linsley
d5d8912cca fix(build): better publish 2022-02-03 10:32:36 -07:00