react-flexview icon indicating copy to clipboard operation
react-flexview copied to clipboard

Improve warnings checks

Open FrancescoCioria opened this issue 7 years ago • 1 comments

FrancescoCioria avatar Jan 24 '19 14:01 FrancescoCioria

@giogonzo React.Children.toArray does exactly what we tried to replicate (with maany bugs)... and it's also typed!

No one reported a bug for the current implementation, but this greatly simplifies the warning logic and it enables TS to be useful.

FrancescoCioria avatar Jan 24 '19 15:01 FrancescoCioria