Apparently they're different, I never knew!
Attributes are html based things such as id, class, href etc.
Props are literally anything else that doesn't already exist as a html attribute.
Apparently they're different, I never knew!
Attributes are html based things such as id, class, href etc.
Props are literally anything else that doesn't already exist as a html attribute.