0.8.0
Version 0.8.0 is a feature release of boreDOM with:
- No API changes, but many breaking behavioral changes and file location changes
addEventListener
based event system- Stops memory leaks from old handlers exported to
window.eventHandlers
- Improves performance by stopping the use of
eval
by the browser for inline event handlers
- Stops memory leaks from old handlers exported to
- Added a
state
decorator to allow more complex values to be stored and auto-updated without an attribute backing it - Allow retrieval of methods in arrays and objects in values stored in
state
by fixing type checking bug - Fixed incorrect behavior in
property
andstate
decorators- Moved caching to class to allow for per-instance value storage, prevents new instances from affecting old ones
- Properly retrieves initial attributes after the first time by caching per-instance instead of per definition
- Reorganized and improved package structure
- ESM first, CommonJS second while still retaining compatibility with both
.d.ts
location defined inpackage.json
instead of having multiple copies- Updated examples to use new structure
- Simple stopwatch app benchmarks to compare boreDOM and ReactJS