here's example. innermost div gets closed instead of section.
it reproduces with babel-plugin-jsx-dom-expressions@0.36.6
in the real project it doesn't throw errors but totally mess the markup by placing components into wrong parents.
i've traced the problem down to this condition but failed to make a test case in packages/babel-plugin-jsx-dom-expressions/test/__dom_fixtures__ - it complains about section inside div, and so forth.
this comment contains a phrase "no siblings after at any parent level" - i think it should fix such problems if implemented.
here's example. innermost div gets closed instead of section.
it reproduces with
babel-plugin-jsx-dom-expressions@0.36.6
in the real project it doesn't throw errors but totally mess the markup by placing components into wrong parents.
i've traced the problem down to this condition but failed to make a test case in
packages/babel-plugin-jsx-dom-expressions/test/__dom_fixtures__
- it complains about section inside div, and so forth.this comment contains a phrase "no siblings after at any parent level" - i think it should fix such problems if implemented.