Skip to content

Commit

Permalink
Mention selectors requirement in Angular stories
Browse files Browse the repository at this point in the history
The asterisks on the `entryComponent` approach is kind of making me wonder if we should just give a better console warning if no component selector is provided. In our project, we will probably end up adding the selectors since it's the same amount of changes as `entryComponent` and will work more completely (with inputs).
  • Loading branch information
literalpie authored Mar 13, 2021
1 parent 6c0919a commit 77bb1d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ export const parameters = {

Please also file an issue if you need to opt out. We plan to remove the legacy renderer in 7.0.

#### Components Without Selectors
When the new Angular renderer is used, all Angular Story components must either have a selector, or be added to the `entryComponents` array of the story's `moduleMetadata`. If the component has any `Input`s or `Output`s to be controlled with `args`, a selector should be added.

### 6.2 Deprecations

#### Deprecated implicit PostCSS loader
Expand Down

0 comments on commit 77bb1d9

Please sign in to comment.