Skip to content

v3.0.0

Choose a tag to compare

@goodguyry goodguyry released this 12 Jun 19:58
· 30 commits to main since this release
26f9f14

This is a reimagining of the framework that removes unused features, decreases bundle sizes, simplifies our component structure, and speeds up code execution.

Greater flexibility

Components can now be either a class or a function, with the revised framework centered around componentProvider, which collects a component’s properties and automatically initializes it based on its configuration.

Faster execution

With relatively minor updates, existing projects can reap the benefits as well. This is because the framework no longer writes to window.manifest, which required a limiter. With that limiter removed, our components are initialized without any delay. You will notice the difference!


Changes

Added

  • Adds componentProvider for initializing and loading components
  • Adds componentLoader for optionally loading the function returned from componentProvider

Changed

  • Simplifies component creation by allowing components to be a class or a function
  • No longer writes to window[manifest]
  • Replaces ComponentManager with initComponents for initializing legacy components using the /v2 export
  • Moves Component to the /v2 export

Fixed

  • Moves @babel/runtime to devDependencies

Removed

  • Removes the rate limiter
  • Removes Aria plugins; consider using aria-components instead.
  • Removes the /core export due to code restructuring