-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Using classNameBindings: ['foo'] is ambiguous and depends on the runtime value of the foo property.
foo: 'BarBaz'will causeclass="bar-baz"foo: truewill causeclass="foo"foo: falsewill causeclass=""foo: ''🤷♂
We will need to decide what we want to do about this. Currently the codemod skips components that use this pattern.
Alternatives:
- Introduce a helper that resolves this issue at runtime.
- Use an interactive prompt each time this pattern is encountered and ask the user if this ia s boolean or string property.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request