- Angular's bootstrapping process is async and sometimes storybook triggers two re renders. In these cases, we reach an inconsistent state in which we can't properly dispose the old view and listeners get duplicated. With this debounce function we make sure we're accounting for those times.
- Knobs addon now works (it had a bug in which the knobs would get cleaned *after* the new story was loaded.
- No longer using decarator/classes for dynamic component creation, this will allow us to "inherit" from the components we get from the user.
Signed-off-by: Carlos Vega <clmvega@gmail.com>
This is the first attempt at adding support for Angular based, mostly, on the vue changes.
What works:
- Added angular sample code to the `examples` folder
- Rendering stories and creating stories out of existing angular components
- For the time being, this only supports one-page angular components
What's missing:
- Addons support
- Support for components that have a separate template
Signed-off-by: Carlos Vega <clmvega@gmail.com>