DevTweet
DevTweet copied to clipboard
chore(deps): bump @astrojs/react from 3.0.9 to 3.3.0
Bumps @astrojs/react from 3.0.9 to 3.3.0.
Release notes
Sourced from @astrojs/react
's releases.
@astrojs/react
@3
.3.0Minor Changes
#10689
683d51a5eecafbbfbfed3910a3f1fbf0b3531b99
Thanks@ematipico
! - Deprecate support for versions of Node.js older thanv18.17.1
for Node.js 18, older thanv20.0.3
for Node.js 20, and the complete Node.js v19 release line.This change is in line with Astro's Node.js support policy.
@astrojs/react
@3
.2.0Minor Changes
- #10675
14f1d49a10541fecc4c10def8a094322442ccf23
Thanks@fightingcat
! - Expose Babel config for@astro/react
.
@astrojs/react
@3
.1.1Patch Changes
- #10654
195f51f82a44df32be73865949aabee0d46ffe61
Thanks@matthewp
! - Mark@material-tailwind/react
as noExternal
@astrojs/react
@3
.1.0Minor Changes
#10136
9cd84bd19b92fb43ae48809f575ee12ebd43ea8f
Thanks@matthewp
! - Changes the default behavior oftransition:persist
to update the props of persisted islands upon navigation. Also adds a new view transitions optiontransition:persist-props
(default:false
) to prevent props from updating as needed.Islands which have the
transition:persist
property to keep their state when using the<ViewTransitions />
router will now have their props updated upon navigation. This is useful in cases where the component relies on page-specific props, such as the current page title, which should update upon navigation.For example, the component below is set to persist across navigation. This component receives a
products
props and might have some internal state, such as which filters are applied:<ProductListing transition:persist products={products} />
Upon navigation, this component persists, but the desired
products
might change, for example if you are visiting a category of products, or you are performing a search.Previously the props would not change on navigation, and your island would have to handle updating them externally, such as with API calls.
With this change the props are now updated, while still preserving state.
You can override this new default behavior on a per-component basis using
transition:persist-props=true
to persist both props and state during navigation:<ProductListing transition:persist-props="true" products={products} />
Changelog
Sourced from @astrojs/react
's changelog.
3.3.0
Minor Changes
#10689
683d51a5eecafbbfbfed3910a3f1fbf0b3531b99
Thanks@ematipico
! - Deprecate support for versions of Node.js older thanv18.17.1
for Node.js 18, older thanv20.0.3
for Node.js 20, and the complete Node.js v19 release line.This change is in line with Astro's Node.js support policy.
3.2.0
Minor Changes
- #10675
14f1d49a10541fecc4c10def8a094322442ccf23
Thanks@fightingcat
! - Expose Babel config for@astro/react
.3.1.1
Patch Changes
- #10654
195f51f82a44df32be73865949aabee0d46ffe61
Thanks@matthewp
! - Mark@material-tailwind/react
as noExternal3.1.0
Minor Changes
#10136
9cd84bd19b92fb43ae48809f575ee12ebd43ea8f
Thanks@matthewp
! - Changes the default behavior oftransition:persist
to update the props of persisted islands upon navigation. Also adds a new view transitions optiontransition:persist-props
(default:false
) to prevent props from updating as needed.Islands which have the
transition:persist
property to keep their state when using the<ViewTransitions />
router will now have their props updated upon navigation. This is useful in cases where the component relies on page-specific props, such as the current page title, which should update upon navigation.For example, the component below is set to persist across navigation. This component receives a
products
props and might have some internal state, such as which filters are applied:<ProductListing transition:persist products={products} />
Upon navigation, this component persists, but the desired
products
might change, for example if you are visiting a category of products, or you are performing a search.Previously the props would not change on navigation, and your island would have to handle updating them externally, such as with API calls.
With this change the props are now updated, while still preserving state.
You can override this new default behavior on a per-component basis using
transition:persist-props=true
to persist both props and state during navigation:<ProductListing transition:persist-props="true" products={products} />
3.0.10
Patch Changes
... (truncated)
Commits
66bc104
[ci] release (#10739)683d51a
feat: upgrade the minimum Node.js maintainance LTS version (#10689)f4f383d
[ci] release (#10680)9a1aee8
[ci] format14f1d49
Expose Babel config for@astro/react
. (#10675)c3916b5
[ci] release (#10651)a79e6b1
[ci] format195f51f
Mark@material-tailwind/react
as noExternal (#10654)dfd146f
Revert "[ci] format" (#10417)1863727
[ci] format- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)