Skip to content

[pull] main from remix-run:main#210

Merged
pull[bot] merged 19 commits into
code:mainfrom
remix-run:main
Oct 8, 2025
Merged

[pull] main from remix-run:main#210
pull[bot] merged 19 commits into
code:mainfrom
remix-run:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Oct 8, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

brophdawg11 and others added 19 commits September 26, 2025 15:42
* wip

* wip

* wip

* wip

* wip

* wip
* typegen: register lookup from route ID to route module

* useRoute: type-safe data access for other routes on the page

* useRoute: use current route ID when route ID is not provided

* wip

* useRoute: better types

- no route ID -> { loaderData: unknown, actionData: unknown }
- actionData gets `| undefined` added to it
- `root` route is guaranteed to exist

* useRoute: mark as unstable

* useRoute: change `loaderData` to be optional

since it could be accessed within an error boundary when the loader itself failed

* changeset

* updated changeset

* useRoute: testing
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Oct 8, 2025
@pull pull Bot added the ⤵️ pull label Oct 8, 2025
@pull pull Bot merged commit b2be7f6 into code:main Oct 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants