Alexander Khoroshikh
Alexander Khoroshikh
**What is the current behavior:** I have an effector store with event, like this: ```ts const inc = createEvent() const $counter = createStore(0) $counter.on(inc, count => count + 1) ```...
**What is the current behavior:** I have an `forest`-based frontend app that works something like that: ```ts //model const root = createDomain(); const $count = root.createStore(0); const up = root.createEvent();...
**What is the current behavior:** `variant` in forest apps behaves in a really weird way, after forest hydrated layout on client. I have an forest-app with SSR, which is something...
Closes #756 ### Conventions - [ ] Please check your messages [against the guidelines](https://cbea.ms/git-commit/) if not, perform [interactive rebase](https://thoughtbot.com/blog/git-interactive-rebase-squash-amend-rewriting-history) - [ ] [Link an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) your pull request closes or...
There is a common pattern to connect external event source to effector with scope support: ```ts const connectSocketFx = attach({ source: $socket, effect(socket) { socket.on("message", scopeBind(messageReceived)) } }) ``` More...
Closes #666 - Added a new option to `scopeBind` - `safe: boolean`
## Proposal I suggest to extend `allSettled` api like this: ```ts const scope = fork() allSettled(scope) // Promise, which will be resolved, once there is no pending calculations in this...
## Proposal Add built-in root domain, just like [`effector-root`](https://github.com/effector/root) does. ```ts import {root} from from "effector" root.onCreateStore(store => { store.watch(console.log) }) ``` ## Use case Almost any case of monitoring...
## Proposal Add an option for `scopeBind` to supress its exception in case, when there is no active scope. ```ts const maybeBinded = scopeBind(event, { safe: true }) ``` In...
Lets say we have two derived stores - one via map and other via sample: ```ts const $store = createStore(0) const $map1 = $store.map(s => s + 1) const $isItMapped...