preactjs / preact-compat

ATTENTION: The React compatibility layer for Preact has moved to the main preact repo.
http://npm.im/preact-compat
MIT License
949 stars 148 forks source link

Add createRef #496

Closed developit closed 5 years ago

developit commented 6 years ago

Implemented in developit/preact#1138, we just have to export it here. This won't do anything until Preact 8.4.0 is released.

hontas commented 5 years ago

Any updates on when we can expect this in the open?

developit commented 5 years ago

@hontas sorry for the delay in replying - this PR is waiting on Preact 8.4.0. The upstream PR has been merged, so the release should go out pretty soon. I believe it was stalled on determining if it would be an 8.4 or a 9.0 release since there are other API changes afoot.

timnovis commented 5 years ago

Hey! Any ideas when this will go out now that the new release of preact has been published?

developit commented 5 years ago

ha! thanks for the tip-off @timnovis, I had forgotten to publish. Time for a preact-compat release I guess!

tombuckley91 commented 5 years ago

Hey @developit - Can we expect this release imminently? I've made the change locally so I can get some stuff done but I'm just conscious that it won't work for anyone else who pulls my branch down, thanks again dude! 👍