-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
declaring multiple vars at once is quite repetitive right now e.g.:
const a = createVar()
const b = createVar()
const c = createVar()maybe we could create a new helper createVars which would allow to use the spread operator to declare multiple vars at the same time:
export function* createVars<TValue = string> () { while(1) { yield createVar<TValue>() }}const [a,b,c] = createVars();Metadata
Metadata
Assignees
Labels
No labels