react-sortable-hoc icon indicating copy to clipboard operation
react-sortable-hoc copied to clipboard

Any plans for this library to support the use of hooks instead of HOCs?

Open nratter opened this issue 5 years ago • 4 comments

Any plans for this library to support the use of hooks instead of HOCs?

nratter avatar Jun 24 '20 19:06 nratter

Any chance we could get an update on this?

ghostandthemachine avatar Jul 16 '20 20:07 ghostandthemachine

Some projects might still run on React15, so hooks won't work for them. HOC seems more backward compatible, unless you are proposing to have both options?

anton6 avatar Sep 08 '20 10:09 anton6

I follow this thread too and I think that both would be really good, another point is that to have both options no breaking change would need to happen

Klynger avatar Sep 09 '20 15:09 Klynger

Supporting this idea!

stonecrafter avatar Dec 07 '20 12:12 stonecrafter