Skip to content

Conversation

better-salmon
Copy link
Contributor

@better-salmon better-salmon commented Apr 9, 2024

This pull request adds the revalidatePath functionality to the App Router, allowing for on-demand revalidation of pages and fetched data. It also includes updates to the @neshca/cache-handler package and its dependencies to support this new feature.

revalidatePath was made possible by providing the implicit tags to the Handler's get method.

Closes #382

Copy link

changeset-bot bot commented Apr 9, 2024

🦋 Changeset detected

Latest commit: 50283ec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@neshca/cache-handler Minor
@neshca/server Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

@ezeparziale ezeparziale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work!!! 🚀

Copy link

@ezeparziale ezeparziale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@better-salmon better-salmon force-pushed the revalidate-path branch 6 times, most recently from c25f008 to 4f11cc0 Compare April 11, 2024 08:25
@better-salmon better-salmon merged commit 588153b into canary Apr 11, 2024
@better-salmon better-salmon deleted the revalidate-path branch April 11, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement revalidatePath functionality for the App Router

2 participants