This repository was archived by the owner on Jan 10, 2025. It is now read-only.
Compose Hooks #2524
Labels
Type: Feature Request 🙌
Request a new feature or changes to an existing one
Overview
I'd love to be able to use
compose
from thereact-compose
package to compose Hooks too. Not sure if this is already possible but currently I'm having to usefromRenderProps
fromreact-recompose
to do so. I know there isreact-hooks-compose
but I feel like it would be nice if possible to be able to do it withcompose
Type
Motivation
Trying to move away from using context providers and instead use global state management like

zustand
but my main hang up is finding a way to pass the global state to thecompose
because I need the values to perform queries usingWatermelonDB
. Also, generally I feel like it would be useful to be able to send in the hook values as propsArea
Area: <tooling>
Scope
Is this issue related to a specific package?
Package: <@shopify/react-compose>
label.Is it related to a new package?
New package
LabelChecklist
The text was updated successfully, but these errors were encountered: