-
Notifications
You must be signed in to change notification settings - Fork 18
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
Row / Col components requiring key #518
Comments
I didn't quite understand the proposed solution, but I will present the current scenario and the possible solution to the problem. Current scenario Alternative to solve the problem
However, this approach will enlarge the Row component's .css as it will bring the Col component's style to it, increase the Row component's size because of the Col component import, and finally, will not allow the 'no' prop. -gutters' of the Col children takes precedence over the 'no-gutters' prop of the parent component, i.e. the Row component. So I don't see how beneficial it is to fix this "bug" at this time. Is the proposed solution in any way related to the alternative mentioned above? Can you give me more details of your possible solution? |
The solution I have propoused have been made without the knologe of te structure of the component. Taking a look inside the code of the
this could be a big refactoring, however will resolve all the warnings that came from the component and will update the library |
I will put a task in the backlog to investigate the proposed solution, thank you! |
Describe the bug
When using the grid components
<Row />
and<Col />
always trhows a warning on the console. Aparently the way it's rendered is using a map, would it be possible to fix it turning those components simple divs with the css applied?A clear and concise description of what the bug is.
Steps to reproduce the behavior
Expected vs actual behavior
expected to render cols that are not on a loop without the need of a
key
propThe text was updated successfully, but these errors were encountered: