Add extra.raw back to JSXText and JSXAttribute #344
Conversation
I'm somewhat concerned that I was inadequately creative in coming up with encoding-related edge-cases, especially given that my knowledge of xhtml-vs-js encoding is limited. Would appreciate any input on that area! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment in babel/babel#5256
As noted in babel/babel#5256 , this should not go out before 7.0. Can/should I change the merge target @danez ? Can you? EDIT – I will rebase and change target |
74beaf7
to
4fce60a
Compare
Rebased and changed target |
Codecov Report
@@ Coverage Diff @@
## master #344 +/- ##
===========================================
- Coverage 98.25% 81.59% -16.67%
===========================================
Files 20 20
Lines 3503 3499 -4
Branches 927 927
===========================================
- Hits 3442 2855 -587
- Misses 22 443 +421
- Partials 39 201 +162
Continue to review full report at Codecov.
|
We moved the previous 7.0 branch to be |
Okay. Fixed conflicts – is this ready to be merged then? |
See discussion at #316 (comment) and above.
node.extra
was removed in order to detect whether a literal was JSX or not, as a temporary fix.This hack no longer seems to be necessary.