We cannot set {...props} to DOM Element directly as there might be some non-supported props. And it would be tedious to map them one by one.
published 2.0.0 5 years ago
We cannot set {...props} to DOM Element directly as there might be some non-supported props. And it would be tedious to map them one by one.