Skip to content

Commit 283aa48

Browse files
committed
Enhance changesets
1 parent be14cd9 commit 283aa48

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@remix-run/router": patch
3+
---
4+
5+
Deprecate the `createRouter` `detectErrorBoundary` option in favor of the new `mapRouteProperties` option for converting a framework-agnostic route to a framework-aware route. This allows us to set more than just the `hasErrorBoundary` property during route pre-processing, and is now used for mapping `Component -> element` and `ErrorBoundary -> errorElement` in `react-router`.

.changeset/fix-component-rerenders.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
"react-router": patch
33
"react-router-dom": patch
4-
"@remix-run/router": patch
54
---
65

7-
Fix inadvertent re-renders when using `Component` instead of `element`
6+
Fix inadvertent re-renders when using `Component` instead of `element` on a route definition

0 commit comments

Comments
 (0)