Skip to content

Commit 9017a60

Browse files
authored
Merge pull request #408 from airjp73/migration
React 19, React-Router, & one small breaking change
2 parents 7edae8b + 0e3753d commit 9017a60

File tree

328 files changed

+2580
-5900
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

328 files changed

+2580
-5900
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ body:
2020
label: Which packages are impacted?
2121
options:
2222
- label: "`@rvf/react`"
23-
- label: "`@rvf/remix`"
23+
- label: "`@rvf/react-router`"
2424
- label: "`@rvf/zod`"
2525
- label: "`@rvf/yup`"
2626
- label: "`zod-form-data`"
@@ -29,7 +29,7 @@ body:
2929
label: What version of these packages are you using?
3030
placeholder: |
3131
- `@rvf/react`: ^0.0.0
32-
- `@rvf/remix`: ^0.0.0
32+
- `@rvf/react-router`: ^0.0.0
3333
- `@rvf/zod`: ^0.0.0
3434
- `@rvf/yup`: ^0.0.0
3535
- `zod-form-data`: ^0.0.0

.github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ contact_links:
55
about: Ask long-form questions and discuss ideas.
66
- name: 💬 Remix Discord / Community Chat
77
url: https://rmx.as/discord
8-
about: Interact with other people using Remix 📀
8+
about: Interact with other people using Remix & React Router 📀

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Easy form validation and state management for React.
77
### Progressively enhanced
88

99
RVF leans into native form APIs, so it's easy to add to your existing forms.
10-
It even works without JavaScript on the client if you're using a server-rendered framework like [Remix](https://remix.run).
10+
It even works without JavaScript on the client if you're using a server-rendered framework like [Remix / React Router](https://remix.run).
1111

1212
### Powerful
1313

@@ -143,14 +143,14 @@ export const ReactExample = () => {
143143
</details>
144144

145145
<details>
146-
<summary>Remix</summary>
146+
<summary>React Router</summary>
147147

148148
```tsx
149149
import {
150150
isValidationErrorResponse,
151151
useForm,
152152
validationError,
153-
} from "@rvf/remix";
153+
} from "@rvf/react-router";
154154
import { withZod } from "@rvf/zod";
155155
import { z } from "zod";
156156
import { MyInput } from "~/fields/MyInput";
@@ -279,15 +279,15 @@ export const ReactExample = () => {
279279

280280
### Install
281281

282-
RVF can be used with any flavor of React, but there's also an adapter specifically for [Remix](https://remix.run).
282+
RVF can be used with any flavor of React, but there's also an adapter specifically for [React Router](https://remix.run).
283283

284-
- @rvf/remix
284+
- @rvf/react-router
285285
- @rvf/react
286286

287-
For Remix users:
287+
For React Router users:
288288

289289
```bash
290-
npm install @rvf/remix
290+
npm install @rvf/react-router
291291
```
292292

293293
For plain React or other frameworks like Next.js:

apps/docs-v2/.gitignore

-5
This file was deleted.

apps/docs-v2/README.md

-36
This file was deleted.

apps/docs-v2/app/entry.client.tsx

-18
This file was deleted.

apps/docs-v2/app/entry.server.tsx

-140
This file was deleted.

apps/docs-v2/app/fields/MyInput.tsx

-56
This file was deleted.

0 commit comments

Comments
 (0)