You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe… I went for the consistent behavior of "extract the closest extractable node", I'm not sure how easy it would be to add this one special case at the moment. I think that's fine, you would put your cursor on the value to extract the value and that should work fine 👍
Describe the bug
The Extract refactoring can be run on JSX attributes, resulting in invalid syntax:
Run "Extract" on attribute "id", results in
How to reproduce
See above
Expected behavior
I don't know if there's ever a way this can be useful; I think the refactoring should just show an error message in this case.
Additional information
The text was updated successfully, but these errors were encountered: