-
Hello,
thanks for your work, signals looks amazing! However, I got 1 question. While using Context API for store, user have option to validate data payload based on different actions and then mutat…
-
Wow! Awesome I was expecting a micro signal from you there it is. I have an issue if I nest effects like this:
```js
const counter = signal(1);
const double = computed(() => counter.value * 2);
co…
-
In the following example:
```
import { signal, computed, effect, batch } from "@preact/signals-core";
const counter = signal(0);
const double = computed(() => counter.value * 2);
const trippl…
-
- [x] Decide on a name
- [x] Do a test run with porting devtools' state management over
- [x] Add Preact bindings
- [x] Port devtools to Preact bindings
- [x] Announcement post
- [x] docs
-
## Background
When a user writes a module specifier (the string literal after `from` in an import declaration) in a TypeScript file, how should the compiler resolve that string to a file on disk to b…
-
react: `18.2.0`
@preact/signals-react: `1.0.0`
When `` is wrapping ``, the first rerender of every signal-attached component is ignored.
To reproduce:
1. Enter https://codesandbox.io/s/amazi…
-
We could optimize things a little further by adding control flow components for conditionally showing content or iterating over lists, we can use Solid as an example here.
[Solid `` tutorial](https…
-
Usually for accessibility reasons we need to generate IDs for DOM elements and reference those IDs via e.g. `aria-labelledby` attributes on other DOM elements.
Implementing a custom deterministic I…
-
**Context:**
- Playwright Version: 1.21.1
- Operating System: Windows, Linux & Mac
- Node.js version: 14.17.0
- Browser: Chromium
- Extra: This was working with Playwright versions 1.20.1
…
-
I have an issue if I nest effects like this:
```js
const counter = signal(1);
const double = computed(() => counter.value * 2);
const tripple = computed(() => counter.value * 3);
effect(() => …