Describe the bug
Won't this fail if react updates the content of the button?
function Elena() {
const [count, setCount] = useState(0);
return (
<elena-button variant="primary" onClick={() => {
setCount((count) => count + 1)
}}>
{count}
</elena-button>
);
}
Affected area
Core library
How to reproduce
see example in issue
Configuration file (if applicable)
No response
Codepen link
No response
Logs
System Info
Before submitting
Describe the bug
Won't this fail if react updates the content of the button?
Affected area
Core library
How to reproduce
see example in issue
Configuration file (if applicable)
No response
Codepen link
No response
Logs
System Info
Before submitting