hooks icon indicating copy to clipboard operation
hooks copied to clipboard

Add React 19 Support

Open songzhj opened this issue 8 months ago • 7 comments

ahooks peerDependencies only allow "react": "^16.8.0 || ^17.0.0 || ^18.0.0", add React 19 support plz.

songzhj avatar Apr 07 '25 17:04 songzhj

啥时候能支持react 19呀

medici avatar Apr 14 '25 07:04 medici

在package.json 添加如下即可支持

"overrides": {
        "ahooks": {
            "react": "^19.0.0"
        }
}

zhe-he avatar Apr 15 '25 01:04 zhe-he

在package.json 添加如下即可支持

"overrides": { "ahooks": { "react": "^19.0.0" } }

If there are no additional code changes with React19, submitting a PR to modify peerDependencies in package.json should be a better way.

songzhj avatar Apr 15 '25 09:04 songzhj

加了

ianzone avatar May 03 '25 02:05 ianzone

npm view ahooks peerDependencies is still { react: '^16.8.0 || ^17.0.0 || ^18.0.0' } Please, update it

degibons avatar May 03 '25 08:05 degibons

npm view ahooks peerDependencies is still { react: '^16.8.0 || ^17.0.0 || ^18.0.0' } Please, update it

@degibons Need to wait for the new version release

songzhj avatar May 04 '25 00:05 songzhj

Please update it.

hannaofsweden avatar Jun 08 '25 10:06 hannaofsweden

3.9.0 已支持

crazylxr avatar Jun 28 '25 14:06 crazylxr