You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context<T> should be { default: T, Provider: ({ value: T }) -> Element }, Consumer: any (too lazy to define consumer, you shouldn't use consumer, use the hook instead)
The text was updated successfully, but these errors were encountered:
We should implement our own wrapper around context that would be fully typed.
api ideas:
froact.provide, makes the type for Context smaller, by not including Provider:
similar to react
Context<T>
should be{ default: T, Provider: ({ value: T }) -> Element }, Consumer: any
(too lazy to define consumer, you shouldn't use consumer, use the hook instead)The text was updated successfully, but these errors were encountered: