preactjs / preact

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
https://preactjs.com
MIT License
36.83k stars 1.95k forks source link

CreateRef is missing in 8.3.1 #1190

Closed gilnoy closed 6 years ago

gilnoy commented 6 years ago

Hey,

I was updating to the new version 8.3.1, however createRef is missing.

Really strange.

https://registry.yarnpkg.com/preact/-/preact-8.3.1.tgz#ed34f79d09edc5efd32a378a3416ef5dc531e3ac

Thanks

Gil

Kanaye commented 6 years ago

Hi @gilnoycloudinary! createRef is not included in 8.3.1 as it's only a bugfix release. Also it 's nowhere mentioned in the release notes, so you shouldn't expect it to be in 8.3.1 ;) As far as I can tell createRef will make it into 8.4.0.

marvinhagemeister commented 6 years ago

@gilnoycloudinary @Kanaye 's answer is correct. 8.3.1 was only a patch release and as such doesn't include any new features.

Vibing commented 5 years ago

1 react-countup used createRef,so i can't use the 8.3.1 version of preact