-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Frp almost completely compatible with svelte, except for a moment with a subscription.
Svelte uses simple store contract.
type Store = { subscribe: (subscription: (value: any) => void) => (() => void), set?: (value: any) => void }
It seems to me that you can make a separate method for subscribing for a Time
like .watch(time => {})
for internal usage, and adopt subscribe
to .subscribe(value => {})
.
This way we will get compatibility with svelte and it will be more understandable for users who want to work with frp as a reactive library.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request