s-libs
s-libs copied to clipboard
A collection of libraries for any of javascript, rxjs, or angular.
Keep an eye on [`structuredClone()`](https://web.dev/structured-clone/) to use in micro-dash once it seems [available enough](https://caniuse.com/?search=structuredclone).
Hey there again, I'm working on a cooperative multitasking system meant to manage jobs and time-slice soas not to jank UI threads or server-side processes. I'm to the point of...
I noticed that v13 has only `.mjs` files and the `bundles` UMD output is gone. This is problematic because when I run with `ts-node`, I get: ``` Error [ERR_REQUIRE_ESM]: Must...
Perhaps it needs a more professional name 🙂. ```ts export class MagicalMap { #map = new Map(); constructor(private createNewValue: () => Value) {} get(key: Key): Value { if (this.#map.has(key)) {...
It seems like a common case to want `MigrationManager` to fall back to the default state if it runs into any issues. Is there a nice way that could be...
It is possible to sync these things 2-ways between the outer and inner form controls. See the example from @DmitryEfimenko at https://github.com/DmitryEfimenko/s-libs-superclass
Just FYI, I think `+new Date()` would be more compatible.
It helps enforce the principle "don't have two things with the same name"
I have a situation where specific lodash packages are being included by transitive dependencies. Deep in `yarn.lock`, I see `lodash.flow` and `lodash.curry`. I'm wondering if there is a way already,...
```ts export function observeKeys( store: StoreObject, k1: K1, ): Observable; export function observeKeys( store: StoreObject, k1: K1, k2: K2, ): Observable; export function observeKeys< T, K1 extends keyof T, K2...