@particle-academy/react-fancy 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
React UI component library — the React port of the `fancy-flux` Blade/Livewire component library. The goal is **visual and behavioral parity** with fancy-flux.
|
|
4
4
|
|
|
5
|
+
## Inertia.js integration
|
|
6
|
+
|
|
7
|
+
Using react-fancy with Inertia? Install the [`@particle-academy/fancy-inertia`](https://github.com/Particle-Academy/fancy-inertia) adapter — it ships a single `<FancyAppRoot>` provider that mounts `Toast.Provider` (and the modal portal root) above the Inertia outlet, plus `useFancyForm()` for one-line wiring of react-fancy form fields to Inertia's `useForm()` server-validated state, plus a `<FancyClientOnly>` boundary for SSR-skip needs. See [fancy-inertia/docs/SSR.md](https://github.com/Particle-Academy/fancy-inertia/blob/main/docs/SSR.md) for the per-component SSR-safety matrix.
|
|
8
|
+
|
|
5
9
|
## Migration to v3
|
|
6
10
|
|
|
7
11
|
`Canvas` and `Diagram` were moved out of react-fancy in v3.0.0 to keep this package focused on generic React UI. They live in companion packages now:
|