Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nghiepdev
Copy link

I believe this is equivalent when run server-side, but doesn't call into react so it's more efficient.

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

…r SSR

Replace useEffect fallback with no-op function to prevent SSR warnings
and unnecessary effect execution in non-browser environments
@CLAassistant
Copy link

CLAassistant commented Sep 19, 2025

CLA assistant check
All committers have signed the CLA.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 26, 2025

npm i https://pkg.pr.new/ahooks@2859
npm i https://pkg.pr.new/@ahooksjs/use-url-state@2859

commit: 225fe16

@meet-student
Copy link
Collaborator

这个破坏原始 api 能力了吧

@nghiepdev
Copy link
Author

这个破坏原始 api 能力了吧

It doesn’t break the original api. I referenced changes from the use-isomorphic-layout-effect package.

@meet-student
Copy link
Collaborator

这个破坏原始 api 能力了吧

It doesn’t break the original api. I referenced changes from the use-isomorphic-layout-effect package.

your are right

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.

3 participants