DEV Community

[Comment from a deleted post]
Collapse
 
manan30 profile image
Manan Joshi

eslint has a rule that doesn't allow spreading of props due to readability issues. You can read more about it here.