Skip to content

Simplify parseJsxChildren#22511

Merged
1 commit merged into
masterfrom
parseJsxChildren
Mar 13, 2018
Merged

Simplify parseJsxChildren#22511
1 commit merged into
masterfrom
parseJsxChildren

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Mar 13, 2018

  • Use a complete list of Jsx token kinds to ensure we're exhaustive
  • Handle all token kinds inside parseJsxChild instead of some inside, some outside

@ghost ghost requested a review from uniqueiniquity March 13, 2018 17:48
@RyanCavanaugh
Copy link
Copy Markdown
Member

Have you tested how this behaves in an editor to make sure there aren't any as-you-type side effects?

@ghost
Copy link
Copy Markdown
Author

ghost commented Mar 13, 2018

I don't see anythign strange but not sure what I would be looking for? The new code should be doing the same thing as the old code.

@ghost ghost merged commit 0c6ef34 into master Mar 13, 2018
@ghost ghost deleted the parseJsxChildren branch March 13, 2018 19:28
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant