Skip to content

Commit 09024c8

Browse files
committed
Merge branch 'release-next' into dev
2 parents 80bd977 + 87ced69 commit 09024c8

31 files changed

+426
-211
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ body:
1616
you ask a question, here are some resources to get help first:
1717
1818
- Read the docs: https://reactrouter.com
19-
- Check out the list of frequently asked questions: https://reactrouter.com/docs/en/v6/getting-started/faq
20-
- Explore examples: https://reactrouter.com/docs/en/v6/examples/basic
19+
- Check out the list of frequently asked questions: https://reactrouter.com/start/faq
20+
- Explore examples: https://reactrouter.com/start/examples
2121
- Look for/ask questions on Stack Overflow: https://stackoverflow.com/questions/tagged/react-router
2222
- Ask in chat: https://discord.gg/6RyV8n8yyM
2323

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ body:
1616
you ask a question, here are some resources to get help first:
1717
1818
- Read the docs: https://reactrouter.com
19-
- Check out the list of frequently asked questions: https://reactrouter.com/docs/en/v6/getting-started/faq
20-
- Explore examples: https://reactrouter.com/docs/en/v6/examples/basic
19+
- Check out the list of frequently asked questions: https://reactrouter.com/start/faq
20+
- Explore examples: https://reactrouter.com/start/examples
2121
- Look for/ask questions on Stack Overflow: https://stackoverflow.com/questions/tagged/react-router
2222
- Ask in chat: https://discord.gg/6RyV8n8yyM
2323
- type: textarea

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: daily

.github/workflows/format.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Format
1+
name: 👔 Format
22

33
on:
44
push:
@@ -12,26 +12,27 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Cancel Previous Runs
16-
uses: styfle/cancel-workflow-action@0.9.1
15+
- name: 🛑 Cancel Previous Runs
16+
uses: styfle/cancel-workflow-action@0.11.0
1717

18-
- name: Checkout Repository
19-
uses: actions/checkout@v2
18+
- name: ⬇️ Checkout repo
19+
uses: actions/checkout@v3
2020
with:
2121
token: ${{ secrets.FORMAT_PAT }}
2222

23-
- name: Use Node.js
24-
uses: actions/setup-node@v2
23+
- name: ⎔ Setup node
24+
uses: actions/setup-node@v3
2525
with:
26-
node-version: 14
26+
cache: yarn
27+
node-version-file: ".nvmrc"
2728

28-
- name: Install dependencies
29-
run: yarn install --frozen-lockfile
29+
- name: 📥 Install deps
30+
run: yarn --frozen-lockfile
3031

31-
- name: Format
32-
run: npm run format --if-present
32+
- name: 👔 Format
33+
run: yarn format
3334

34-
- name: Commit
35+
- name: 💪 Commit
3536
run: |
3637
git config --local user.email "[email protected]"
3738
git config --local user.name "Remix Run Bot"

.github/workflows/no-response.yml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
11
name: 🥺 No Response
22

33
on:
4-
issue_comment:
5-
types: [created]
64
schedule:
75
# Schedule for five minutes after the hour, every hour
86
- cron: "5 * * * *"
97

8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
1012
jobs:
11-
noResponse:
13+
stale:
1214
if: github.repository == 'remix-run/react-router'
1315
runs-on: ubuntu-latest
14-
1516
steps:
1617
- name: 🥺 Handle Ghosting
17-
uses: lee-dohm/[email protected]
18+
uses: actions/stale@v6
1819
with:
19-
closeComment: >
20+
days-before-close: 10
21+
close-issue-message: >
2022
This issue has been automatically closed because we haven't received a
2123
response from the original author 🙈. This automation helps keep the issue
22-
tracker clean from issues that are unactionable. Please reach out if you
24+
tracker clean from issues that aren't actionable. Please reach out if you
25+
have more information for us! 🙂
26+
close-pr-message: >
27+
This PR has been automatically closed because we haven't received a
28+
response from the original author 🙈. This automation helps keep the issue
29+
tracker clean from PRs that aren't actionable. Please reach out if you
2330
have more information for us! 🙂
24-
daysUntilClose: 10
25-
responseRequiredLabel: needs-response
26-
token: ${{ github.token }}
31+
# don't automatically mark issues/PRs as stale
32+
days-before-stale: -1
33+
stale-issue-label: needs-response
34+
stale-pr-label: needs-response

.github/workflows/release-experimental.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
name: 🧪 Release (experimental)
1+
name: 🚀 Release (experimental)
22
on:
3-
release:
4-
types: [published]
3+
push:
54
tags:
65
- "v0.0.0-experimental*"
76

@@ -23,16 +22,14 @@ jobs:
2322
with:
2423
fetch-depth: 0
2524

26-
- name: ⎔ Setup Node
25+
- name: ⎔ Setup node
2726
uses: actions/setup-node@v3
2827
with:
29-
node-version-file: ".nvmrc"
3028
cache: yarn
29+
node-version-file: ".nvmrc"
3130

3231
- name: 📥 Install deps
33-
# even though this is called "npm-install" it does use yarn to install
34-
# because we have a yarn.lock and caches efficiently.
35-
uses: bahmutov/npm-install@v1
32+
run: yarn --frozen-lockfile
3633

3734
- name: 🏗 Build
3835
run: yarn build

.github/workflows/support.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
action:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: dessant/support-requests@v2
14+
- uses: dessant/support-requests@v3
1515
with:
1616
issue-comment: >
1717
:wave: @{issue-author}, we use the issue tracker exclusively for bug reports

.github/workflows/test.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test
1+
name: 🧪 Test
22

33
on:
44
push:
@@ -11,36 +11,36 @@ on:
1111
- "docs/**"
1212
- "**/README.md"
1313
pull_request:
14-
types:
15-
- opened
16-
- reopened
17-
- synchronize
18-
- ready_for_review
1914
paths-ignore:
2015
- "docs/**"
2116
- "**/*.md"
2217

2318
jobs:
2419
test:
20+
name: 🧪 Test
2521
runs-on: ubuntu-latest
2622

2723
steps:
28-
- uses: actions/checkout@v2
24+
- name: 🛑 Cancel Previous Runs
25+
uses: styfle/[email protected]
2926

30-
- name: Set up Node
31-
uses: actions/setup-node@v2
27+
- name: ⬇️ Checkout repo
28+
uses: actions/checkout@v3
29+
30+
- name: ⎔ Setup node
31+
uses: actions/setup-node@v3
3232
with:
33-
node-version: 14
34-
check-latest: true
3533
cache: yarn
34+
check-latest: true
35+
node-version-file: ".nvmrc"
3636

37-
- name: Install dependencies
38-
run: yarn install --frozen-lockfile
37+
- name: 📥 Install deps
38+
run: yarn --frozen-lockfile
3939

40-
- name: Build
40+
- name: 🏗 Build
4141
run: yarn build
4242

43-
- name: Test
43+
- name: 🧪 Run tests
4444
run: yarn test
4545

4646
- name: Check bundle size

contributors.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- abhi-kr-2100
33
- AchThomas
44
- adamdotjs
5+
- afzalsayed96
56
- Ajayff4
67
- alany411
78
- alexlbr
@@ -41,12 +42,14 @@
4142
- elanis
4243
- elylucas
4344
- emzoumpo
45+
- engpetermwangi
4446
- FilipJirsak
4547
- frontsideair
4648
- fz6m
4749
- gianlucca
4850
- gijo-varghese
4951
- goldins
52+
- goodrone
5053
- gowthamvbhat
5154
- GraxMonzo
5255
- GuptaSiddhant
@@ -88,6 +91,7 @@
8891
- loun4
8992
- lqze
9093
- lukerSpringTree
94+
- m-shojaei
9195
- Manc
9296
- manzano78
9397
- marc2332
@@ -135,16 +139,16 @@
135139
- TkDodo
136140
- tkindy
137141
- tlinhart
142+
- tom-sherman
138143
- triangularcube
139144
- turansky
140145
- tyankatsu0105
141146
- underager
142147
- vijaypushkin
143-
- vishwast03
144148
- vikingviolinist
149+
- vishwast03
145150
- willemarcel
146151
- williamsdyyz
147152
- xavier-lc
148153
- xcsnowcity
149154
- yuleicul
150-
- m-shojaei

docs/guides/deferred.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ Let's take a dive into how to accomplish this.
6666
Start by adding `<Await />` for your slow data requests where you'd rather render a fallback UI. Let's do that for our example above:
6767

6868
```jsx lines=[1,5,10,20-33]
69-
import { defer, useLoaderData } from "react-router-dom";
69+
import {
70+
Await,
71+
defer,
72+
useLoaderData,
73+
} from "react-router-dom";
7074
import { getPackageLocation } from "./api/packages";
7175

7276
async function loader({ params }) {

0 commit comments

Comments
 (0)