3 ms·
Another library ignores shadow dom. As of now you don't need any frameworks for this. The new command and navigation apis, would just do the same trick.
by reverseblade2 7mo ago
Another library ignores shadow dom.
As of now you don't need any frameworks for this. The new command and navigation apis, would just do the same trick.
- poobrains 7mo agoWhich new command and navigation apis are you referring to?
- reverseblade2 7mo agoGoogle is your friend
- amaury_bouchard 7mo agoFair point on shadow DOM. That said, µJS targets server-rendered HTML workflows, where pages are plain HTML generated by a backend framework or template engine. In that context, shadow DOM is rarely used, so this limitation doesn't affect the typical µJS user. If you're building heavily component-based UIs with Web Components, µJS is probably not the right tool anyway. A proper JS framework would serve you better. On the native APIs: yes, the Navigation API and Speculation Rules are exciting, but browser support is still uneven. µJS works today across all modern browsers without any configuration. That said, I agree the gap will narrow over time.