Shorthand syntax for "Auto" reactions
Aberta
enhancement
- Linguagem predominante
- TypeScript
- Estrelas
- 176
- Forks
- 9
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
"Reactions" are unobserved side effects in response to an observed computation.
The current way to do this:
```ts
auto(() => {
// Observed computation here
noto(() => {
// Unobserved side effects here
})
})
```
The proposed way to do this:
```ts
auto(
() => {
// Observed computation here
},
result => {
// Unobserved side effects here
}
)
```
The bonus (of course) being that you don't need to import `noto`.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.