Skip to content
This repository has been 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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cappuccino6
Copy link

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
Copy link
Author

cappuccino6 commented Dec 30, 2020

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

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.

None yet

1 participant