-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
RFCSome new feature that should be discussedSome new feature that should be discussed
Description
Sometimes needed readonly store from incoming arguments outside, in factories functions for examle.
How can a solution be processed inside a function an argument that is not a unit by creating a unit from it
there is now:
const someFunction(arg1:number, arg2:string) {
const $store = readonly(createStore(arg1));
}
and how can it be:
const someFunction(arg1:number, arg2:string) {
const $store = readonly(arg1);
}
Metadata
Metadata
Assignees
Labels
RFCSome new feature that should be discussedSome new feature that should be discussed