Skip to content

0.8.0

Compare
Choose a tag to compare
@HereIsKevin HereIsKevin released this 09 Jul 01:37
· 166 commits to master since this release

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
  • 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 and state 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 in package.json instead of having multiple copies
    • Updated examples to use new structure
  • Simple stopwatch app benchmarks to compare boreDOM and ReactJS