Skip to content

[Investigation] Remove rooks dependency #173

Closed
@jamesrweb

Description

@jamesrweb

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.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency filequestion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions