Description
Currently we use rooks
to expose to us an isomorphic use effect but it seems that almost nobody uses SSR with this library and thus, we could save space in the downloadable bundle by moving to a purely client side implementation.
I have some concerns with doing this such as integrations with libraries such as remix
, gatsby
and next
but these need to be tested as part of the outcome, if any, of this issue.
Furthermore, as part of this issue, we should run some benchmarks to see how much, if any, impact is visible in the end bundle and on core use cases.