onClick no react code example
Example: react actions sintaxe
const actionsSintaxe = (element) => ({ type: "@smthg/ACTION", element });
// ACTION = REMOVE, ADD etc...
const actionsSintaxe = (element) => ({ type: "@smthg/ACTION", element });
// ACTION = REMOVE, ADD etc...