Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unstable JSX output by ensuring we follow fill rules. #1827

Merged
merged 2 commits into from
May 31, 2017

Conversation

karl
Copy link
Collaborator

@karl karl commented May 31, 2017

This changes makes us more strict about ensuring our JSX children follow the alternating content/whitespace format expected by the fill primitive.

Previously there were some cases where could get out of sync which would throw out the formatting.

This fixes up the unstable rendering reported here: #1703

This changes makes us more strict about ensuring our JSX children follow the alternating content/whitespace format expected by the `fill` primitive.

Previously there were some cases where could get out of sync which would throw out the formatting.
# Conflicts:
#	src/printer.js
@vjeux vjeux merged commit a680cd8 into prettier:master May 31, 2017
@vjeux
Copy link
Contributor

vjeux commented May 31, 2017

Thanks!

@karl karl deleted the jsx-fix-unstable branch May 31, 2017 16:54
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants