First bigger release for Jaspr in 2025 is out (v017.0) + brand new package!
✅ New way to access native DOM nodes for a component
✅ New universal_web package
✅ Added '--dart-define' cli option
✅ Bug fixes and other improvements
Details below ->
✅ New way to access native DOM nodes for a component
✅ New universal_web package
✅ Added '--dart-define' cli option
✅ Bug fixes and other improvements
Details below ->
Comments
Create a 'GlobalNodeKey()', provide it to your component and access DOM node via 'myKey.currentNode'.
Docs: https://docs.page/schultek/jaspr/utils/global_node_key
This wraps the 'web' package and provides stubs for non-web platforms, which makes it directly importable in all environments. No more conditional imports.
Used by Jaspr for all web interactions.
https://pub.dev/packages/universal_web