v3.0.0
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
componentProviderfor initializing and loading components - Adds
componentLoaderfor optionally loading the function returned fromcomponentProvider
Changed
- Simplifies component creation by allowing components to be a class or a function
- No longer writes to
window[manifest] - Replaces
ComponentManagerwithinitComponentsfor initializing legacy components using the/v2export - Moves
Componentto the/v2export
Fixed
- Moves
@babel/runtimeto devDependencies
Removed
- Removes the rate limiter
- Removes Aria plugins; consider using aria-components instead.
- Removes the
/coreexport due to code restructuring