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

Improve Hooks #96

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Improve Hooks #96

merged 1 commit into from
Jun 4, 2024

Conversation

4350pChris
Copy link
Member

Changes

  • rename onBeforeMountApp to onBeforeRenderClient

@4350pChris 4350pChris linked an issue Jun 3, 2024 that may be closed by this pull request
@4350pChris 4350pChris force-pushed the 91-improve-hooks branch 2 times, most recently from f77ddfc to 68816cb Compare June 3, 2024 14:01
@brillout brillout mentioned this pull request Jun 3, 2024
@4350pChris
Copy link
Member Author

@brillout I think I'll go ahead with this API if you don't have any objections.

@brillout
Copy link
Member

brillout commented Jun 4, 2024

👍 LGTM. Do some users use these hooks? If yes then we should add some fix: with BREAKING CHANGE: commit.

@4350pChris
Copy link
Member Author

👍 LGTM. Do some users use these hooks? If yes then we should add some fix: with BREAKING CHANGE: commit.

Like this? 589e8a4

@brillout
Copy link
Member

brillout commented Jun 4, 2024

Yes, I'd also mention that all packages need to be updated at the same time.

(The commit will appear in all three CHANGELOG.md because the commit touches files in all three packages.)

@brillout
Copy link
Member

brillout commented Jun 4, 2024

Also maybe mentioning isHydration.

BREAKING CHANGE: All vike-vue packages need to be updated simultaneously.
rename `onBeforeMountApp` to `onBeforeRenderClient` and `onAfterRenderSSRApp` to `onAfterRenderHtml`

Signed-off-by: Chris-Robin Ennen <[email protected]>
@4350pChris
Copy link
Member Author

Also maybe mentioning isHydration.

Lmk if you think this is enough.

@brillout
Copy link
Member

brillout commented Jun 4, 2024

It'll probably lead to a couple of users having to spend more time on migration, but I think it's ok.

Free free to merge & publish.

@4350pChris 4350pChris merged commit 8c91b7b into main Jun 4, 2024
5 checks passed
4350pChris added a commit that referenced this pull request Jun 4, 2024
BREAKING CHANGE: All vike-vue packages need to be updated simultaneously.
rename `onBeforeMountApp` to `onBeforeRenderClient` and `onAfterRenderSSRApp` to `onAfterRenderHtml`
@brillout brillout deleted the 91-improve-hooks branch September 6, 2024 11:18
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.

Improve hooks?
2 participants