Option to not render values
areknow opened this issue · 1 comments
areknow commented
armandabric commented
Hi @areknow,
Your exemple will transpiled to something like this:
React.createElement(Button, { onChange: () => setCount(count + 1) }, `clicked: ${count}`);
The third argument will be resolved a runtime to became the string clicked: 2
. So it's not possible for the library to retrieve it.