Open jsheely opened 3 months ago
I believe I knew this before. The issue I had tested is that increment is the only variable being used so with codegen that gets put automatically into the useGlobalState
hook which causes counter
to get trapped and never used.
I think this is the desired behavior even if it is not obvious.
I noticed that when I toggled on and off the
codeGeneratorYasmlPlugin
that the exampleThe value in test could get trapped and never update on click.