Closed adamdbradley closed 2 years ago
0.0.20-1
Any
No response
Qwik Runtime
export const App = component$(() => { const state = useStore({ count: 50 }); return ( <div> <div>Count: {state.count}</div> <button onClick$={() => { state.count++; }} > Click </button> </div> ); });
Rendered html
<button q:obj="1!" on:click="app_component_div_button_onclick_w75r9tqsgbi-127266e8.js#App_component_div_button_onClick_w75R9TQSgbI[0] ./app_component_div_button_onclick_w75r9tqsgbi-127266e8.js#App_component_div_button_onClick_w75R9TQSgbI[0]" q:seq="">Click</button>
First click, increments by 1
Second click, increments by 2
Fixed https://github.com/BuilderIO/qwik/commit/6615f036116005dc635fb794eb15fa4d036b561b
Qwik Version
0.0.20-1
Operating System (or Browser)
Any
Node Version (if applicable)
No response
Which component is affected?
Qwik Runtime
Expected Behaviour
Rendered html
Actual Behaviour
First click, increments by 1
Second click, increments by 2
Additional Information
No response