File tree 12 files changed +71
-11
lines changed
react-router-dom-v5-compat
12 files changed +71
-11
lines changed Original file line number Diff line number Diff line change 31
31
" strange-terms-pretend" ,
32
32
" strong-bees-pay" ,
33
33
" stupid-dryers-shout" ,
34
+ " sweet-books-switch" ,
34
35
" thick-lions-taste" ,
35
36
" thirty-monkeys-cheer" ,
36
37
" tough-zoos-cry" ,
Original file line number Diff line number Diff line change 3
3
" @remix-run/router " : patch
4
4
---
5
5
6
- fix: Rename ` <Deferred> ` to ` <Await> `
6
+ fix: Rename ` <Deferred> ` to ` <Await> ` ( # 9095 )
7
7
8
8
- We are no longer replacing the ` Promise ` on ` loaderData ` with the value/error
9
9
when it settles so it's now always a ` Promise ` .
10
10
- To that end, we changed from ` <Deferred value={promise}> ` to
11
11
` <Await resolve={promise}> ` for clarity, and it also now supports using
12
12
` <Await> ` with raw promises from anywhere, not only those on ` loaderData `
13
13
from a defer() call.
14
- - The hook is also changed from ` useDeferredData ` -> ` useAsyncValue `
14
+ - Note that raw promises will not be automatically cancelled on interruptions
15
+ so they are not recommended
16
+ - The hooks are now ` useAsyncValue ` /` useAsyncError `
Original file line number Diff line number Diff line change 1
1
# react-router-dom-v5-compat
2
2
3
+ ## 6.4.0-pre.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+
10
+
3
11
## 6.4.0-pre.10
4
12
5
13
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-router-dom-v5-compat" ,
3
- "version" : " 6.4.0-pre.10 " ,
3
+ "version" : " 6.4.0-pre.11 " ,
4
4
"description" : " Migration path to React Router v6 from v4/5" ,
5
5
"keywords" : [
6
6
" react" ,
24
24
"types" : " ./dist/index.d.ts" ,
25
25
"dependencies" : {
26
26
"history" : " ^5.3.0" ,
27
- "react-router" : " 6.4.0-pre.10 "
27
+ "react-router" : " 6.4.0-pre.11 "
28
28
},
29
29
"peerDependencies" : {
30
30
"react" : " >=16.8" ,
Original file line number Diff line number Diff line change 1
1
# react-router-dom
2
2
3
+ ## 6.4.0-pre.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ c3406eb9]
8
+
9
+
3
10
## 6.4.0-pre.10
4
11
5
12
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-router-dom" ,
3
- "version" : " 6.4.0-pre.10 " ,
3
+ "version" : " 6.4.0-pre.11 " ,
4
4
"description" : " Declarative routing for React web applications" ,
5
5
"keywords" : [
6
6
" react" ,
23
23
"module" : " ./dist/index.js" ,
24
24
"types" : " ./dist/index.d.ts" ,
25
25
"dependencies" : {
26
- "react-router" : " 6.4.0-pre.10 "
26
+ "react-router" : " 6.4.0-pre.11 "
27
27
},
28
28
"devDependencies" : {
29
29
"react" : " ^18.2.0" ,
Original file line number Diff line number Diff line change 1
1
# react-router-native
2
2
3
+ ## 6.4.0-pre.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+
3
10
## 6.4.0-pre.10
4
11
5
12
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-router-native" ,
3
- "version" : " 6.4.0-pre.10 " ,
3
+ "version" : " 6.4.0-pre.11 " ,
4
4
"description" : " Declarative routing for React Native applications" ,
5
5
"keywords" : [
6
6
" react" ,
22
22
"types" : " ./dist/index.d.ts" ,
23
23
"dependencies" : {
24
24
"@ungap/url-search-params" : " ^0.1.4" ,
25
- "react-router" : " 6.4.0-pre.10 "
25
+ "react-router" : " 6.4.0-pre.11 "
26
26
},
27
27
"devDependencies" : {
28
28
"react" : " ^18.2.0" ,
Original file line number Diff line number Diff line change 1
1
# react-router
2
2
3
+ ## 6.4.0-pre.11
4
+
5
+ ### Patch Changes
6
+
7
+ - c3406eb9: fix: Rename ` <Deferred> ` to ` <Await> ` (#9095 )
8
+
9
+ - We are no longer replacing the ` Promise ` on ` loaderData ` with the value/error
10
+ when it settles so it's now always a ` Promise ` .
11
+ - To that end, we changed from ` <Deferred value={promise}> ` to
12
+ ` <Await resolve={promise}> ` for clarity, and it also now supports using
13
+ ` <Await> ` with raw promises from anywhere, not only those on ` loaderData `
14
+ from a defer() call.
15
+ - Note that raw promises will not be automatically cancelled on interruptions
16
+ so they are not recommended
17
+ - The hooks are now ` useAsyncValue ` /` useAsyncError `
18
+
19
+ - Updated dependencies
20
+ - @remix-run/router @0.2.0-pre.6
21
+
3
22
## 6.4.0-pre.10
4
23
5
24
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-router" ,
3
- "version" : " 6.4.0-pre.10 " ,
3
+ "version" : " 6.4.0-pre.11 " ,
4
4
"description" : " Declarative routing for React" ,
5
5
"keywords" : [
6
6
" react" ,
23
23
"module" : " ./dist/index.js" ,
24
24
"types" : " ./dist/index.d.ts" ,
25
25
"dependencies" : {
26
- "@remix-run/router" : " 0.2.0-pre.5 "
26
+ "@remix-run/router" : " 0.2.0-pre.6 "
27
27
},
28
28
"devDependencies" : {
29
29
"react" : " ^18.2.0"
Original file line number Diff line number Diff line change 1
1
# @remix-run/router
2
2
3
+ ## 0.2.0-pre.6
4
+
5
+ ### Patch Changes
6
+
7
+ - c3406eb9: fix: Rename ` <Deferred> ` to ` <Await> ` (#9095 )
8
+
9
+ - We are no longer replacing the ` Promise ` on ` loaderData ` with the value/error
10
+ when it settles so it's now always a ` Promise ` .
11
+ - To that end, we changed from ` <Deferred value={promise}> ` to
12
+ ` <Await resolve={promise}> ` for clarity, and it also now supports using
13
+ ` <Await> ` with raw promises from anywhere, not only those on ` loaderData `
14
+ from a defer() call.
15
+ - Note that raw promises will not be automatically cancelled on interruptions
16
+ so they are not recommended
17
+ - The hooks are now ` useAsyncValue ` /` useAsyncError `
18
+
3
19
## 0.2.0-pre.5
4
20
5
21
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @remix-run/router" ,
3
- "version" : " 0.2.0-pre.5 " ,
3
+ "version" : " 0.2.0-pre.6 " ,
4
4
"description" : " Nested/Data-driven/Framework-agnostic Routing" ,
5
5
"keywords" : [
6
6
" remix" ,
You can’t perform that action at this time.
0 commit comments