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(react-core): remove redundant markup elements #544

Merged
merged 2 commits into from Dec 4, 2017
Merged

fix(react-core): remove redundant markup elements #544

merged 2 commits into from Dec 4, 2017

Conversation

kvet
Copy link
Contributor

@kvet kvet commented Dec 1, 2017

BREAKING CHANGES:

To get rid of redundant 'div' elements in markup, we have updated the minimum React version the grid requires to 16.2.0.

@@ -8,7 +8,7 @@ export const PluginIndexer = (
{ children },
{ positionContext },
) => (
<div style={{ display: 'none' }}>
<React.Fragment>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about display: none? Is it unnecessary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fragment is an virtual element. It will not be present in DOM.

@kvet kvet merged commit f5e24a6 into DevExpress:master Dec 4, 2017
@kvet kvet deleted the switch-to-fragments branch December 4, 2017 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants