Been so deep in React hell for so long that this is starting to look normal to me 😂
22.10.2025 22:59 — 👍 0 🔁 0 💬 0 📌 0@tien.zone.bsky.social
Creator of https://reactivedot.dev; Contributor @polkadot.bsky.social; Prev. https://talisman.xyz;
Been so deep in React hell for so long that this is starting to look normal to me 😂
22.10.2025 22:59 — 👍 0 🔁 0 💬 0 📌 0Should also override `Symbol.species`, else it'll crash :p
```js
class ResolvedPromise extends Promise {
constructor(value) {
super((resolve) => resolve(value));
this.status = "fulfilled";
this.value = value;
}
static get [Symbol.species]() {
return Promise;
}
}
```