Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

fix: use React.Fragment via props while React version is over 16.2.0 - #130

Open
cappuccino6 wants to merge 1 commit into
akxcv:masterfrom
cappuccino6:fix-remove-outer-div-by-props
Open

fix: use React.Fragment via props while React version is over 16.2.0#130
cappuccino6 wants to merge 1 commit into
akxcv:masterfrom
cappuccino6:fix-remove-outer-div-by-props

Conversation

@cappuccino6

Copy link
Copy Markdown

we want to remove the useless div by React.Fragment, meanwhile, we know that React under 16.0 version doesn't support this. Luckily, as we can see, we can pass a property to make it under control when your React version is greater then or equal to 16.2.0.

@cappuccino6
cappuccino6 force-pushed the fix-remove-outer-div-by-props branch 3 times, most recently from 527f812 to 240a08c Compare December 30, 2020 07:10
@cappuccino6

cappuccino6 commented Dec 30, 2020

Copy link
Copy Markdown
Author

hi, akxcv, we need to remove the outer container div tag in our project, this is pretty important for us and we need your support pls. or maybe wo have to fork this project and maintain it oulselves, which seems not convenient for us all

@cappuccino6
cappuccino6 force-pushed the fix-remove-outer-div-by-props branch from 240a08c to 704f758 Compare December 30, 2020 07:55
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