Closed areknow closed 3 years ago
Not sure how to word it exactly, sorry about that..
I would like to show the code:
<Button onChange={() => { setCount(count + 1); }} > clicked: {count} </Button>
But instead I am getting the rendered value of {count}:
{count}
Is this possible? Thanks!
wrong repo
Not sure how to word it exactly, sorry about that..
I would like to show the code:
But instead I am getting the rendered value of
{count}
:Is this possible? Thanks!