Skip to content

typescript generic elements do not work and cause spin #5

Open
@aaronjensen

Description

I'm sorry for the flurry of issues... it's only because I like this package.

This one is somewhat esoteric as well, so if you don't intend to support typescript, I totally understand if you'd want to close this.

Start with this:

const x = () => (
  <Foo>
    test
  </Foo>
)

Update top <Foo> to <Foo<Bar>>

That will change the bottom </Foo> to </Bar>:

const x = () => (
  <Foo<Bar>>
    test
  </Bar>
)

Then put your point before the B in </Bar> and C-d, that will hang Emacs until you spam C-g.

The auto-rename-tag-mode will not work anymore until you disable it and reenable it.

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions