Sova

Results 238 comments of Sova

What about to add error handler to a scope? ```ts const scope = fork({ values, handlers, onUnexpectedError(error) {}, }) ```

@sayansur25 Thank for reporting. Can you create it?

Wow! Thank you for your performance research. We will fix that on the next update

@ypresto and missed header for `======`

`then` and `else` allows `Unit` in union (`Unit | Unit` or `Unit` doesnt matter). When `Event` passed to `else` it comes as `T` assigning to `T | void`, but also...

@Lonli-Lokli ```ts const hideFx = createEffect(() => { document.body.classList.add('hidden'); }) hideFx.abort(); ``` What the result of `.abort()` call we need to do inside effect?

Shorthands: ```js const $data = createStore({ foo: 1, bar: 2 }) const { foo, bar } = reshape({ source: $data, shape: ["foo", "bar"], }) ```

Thank you for contribution! But it looks like it is better to add support of `Event` for `reshape`. At the moment `reshape` receives `Store` and returns stores. Maybe add support...

@romadryud You can implement it, but I propose to name it `cancel`. We need to know how much instances to cancel when `cancel` event is called: all of runned, or...