Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for clientLoader + Fallback #8092

Merged
merged 29 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
96c8e53
Add support for clientLoader
brophdawg11 Oct 13, 2023
068f095
Export ClientLoaderFunction/ClientLoaderFunctionArgs
brophdawg11 Nov 21, 2023
b0c187b
Updates
brophdawg11 Nov 21, 2023
3d8f00d
Updates to serverLoader definition
brophdawg11 Nov 21, 2023
45f9f5f
Fix type issue in remix stub
brophdawg11 Nov 21, 2023
99499c1
Add changeset
brophdawg11 Nov 21, 2023
eeb164d
Lock into RR experimental
brophdawg11 Nov 21, 2023
d72a059
Minor cleanups
brophdawg11 Nov 21, 2023
5165158
Fix type issue
brophdawg11 Nov 21, 2023
897a437
Add integration tests
brophdawg11 Nov 21, 2023
a5bcecc
Minor test fixes
brophdawg11 Nov 21, 2023
4688261
Avoid 2nd shallow clone
brophdawg11 Nov 22, 2023
fe1a001
Update to new Rr experimental
brophdawg11 Nov 22, 2023
8b9215c
test(vite): fix firefox expected error detection (#8093)
pcattori Nov 21, 2023
eb4161d
Provide unwrapped server loader data to client loader
brophdawg11 Nov 22, 2023
9f0fbfa
Handle synchronous clientLoader race condition
brophdawg11 Nov 22, 2023
79388e1
fix lint issue
brophdawg11 Nov 27, 2023
6b59cf4
Better handling of synchronous clientLoader edge case
brophdawg11 Nov 27, 2023
08f1d61
Lock into latest RR experimental
brophdawg11 Nov 28, 2023
d547050
Rename Fallback -> HydrationFallback
brophdawg11 Nov 28, 2023
741ebcb
Support type inference on serverLoader
brophdawg11 Nov 28, 2023
611fc4b
Rename HydrationFallback -> HydrateFallback
brophdawg11 Nov 28, 2023
efed0b8
Remove uneeded X-Remix-Initial-Load header
brophdawg11 Nov 28, 2023
61bf40b
Move to clientLoader.hydrate for initial load execution detection
brophdawg11 Nov 28, 2023
296efc6
Fix tests
brophdawg11 Nov 28, 2023
4821bfc
Minor updates and test refactor
brophdawg11 Nov 29, 2023
c6778e0
Fix up flaky tests
brophdawg11 Nov 29, 2023
a8b4810
Fix flaky test
brophdawg11 Nov 29, 2023
aed8736
doh
brophdawg11 Nov 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/client-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@remix-run/dev": minor
"@remix-run/react": minor
"@remix-run/server-runtime": minor
"@remix-run/testing": minor
---

Add support for `clientLoader`/`clientAction` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634))
Loading