Okku

Results 36 issues of Okku

- feat: HTMLElement - feat: HTMLBRElement - feat: CSSStyleDeclaration - feat: DOMStringMap - feat: CSSStyleValue (partial) - fix: innerText converts linebreaks to BR elements - fix: innerText removed from Element...

https://developer.mozilla.org/en-US/docs/Web/CSS/:scope ```ts const doc = new DOMParser().parseFromString("", "text/html"); doc.querySelector(":scope"); // should return element of the document, but returns null ```

enhancement
upstream

For ReactiveValue and ReactiveArray. See https://discord.com/channels/704026413870612511/704026414399225928/967977981706379344

When a reactive value is assigned to another reactive value, or returned from the callback of `computed()`, `RV::truthy()`, `RV::falsy()`, `RV::pipe()` etc., it should probably be flattened for convenience, similar to...

enhancement
monads

Gotten a few requests to support functional components, and after some deliberation, I think it might be possible to do that and it might improve developer ergonomics. Class-style components were...

enhancement
needs more feedback

https://github.com/tc39/proposal-array-grouping

enhancement

Maybe there should be a method for toggling boolean reactive values?

enhancement
needs more feedback

https://codepen.io/okku/pen/QWMmBga?editors=0011

bug

We should use Deno instead of Node for compiling so we can use Deno's nice features like `deno doc` and `deno test`. Depends on ~~https://github.com/denoland/deno/issues/1739~~ https://github.com/denoland/deno/issues/5253 and https://github.com/denoland/deno/issues/3385

enhancement
upstream

While the library works without a compiler, there are many optimization opportunities that would help apps perform better in production. Optimization opportunities: * Code inside ``html` `;`` template literals should...

enhancement
help wanted