-
…in reply to @treigys_
treigys_ I’m not sure what you mean, sorry - when you’re using a button element in react it’s just like vanilla html except you write onClick instead of onclick.
-
…in reply to @type__error
treigys_ If an item on the screen needs to be clickable it should either be <button> (if it triggers JS) or <a> (if it causes a page transition/change of location)