PatrickJS

Results 280 comments of PatrickJS

we're redoing this here https://github.com/QwikDev/qwik/pull/6355

this works as expected because of how promises work here is the correct way to handle true/false loading ```ts onClick$={[ $(async () => { await setLoading(true); }), $(async () =>...

the workaround is just to make sure the functions have $ wrap around them. looking at the build it looks like the server$ is not being output correctly in the...

![image](https://github.com/QwikDev/qwik/assets/1016365/1adfc3a1-2651-479a-b385-14411fa92dc2) @wmertens it looks like the server$ output is not working unless the handler is wrap in $ this is the output when the handler is wrap in $ ![image](https://github.com/QwikDev/qwik/assets/1016365/b48970d8-640b-431a-9cec-d2c082779fac)

we probably use eslint to require $ if server$ (or any other $ is being used) for now. This works correctly with one server$ but once you have more than...

added this to the docs for now https://github.com/QwikDev/qwik/commit/48abd15b4cb738c6e1e20bb544b46652e77ff072

@wmertens we should support this because calling server$ in onClick$ is used in all examples of server$ and it's the main use-case. Is there any way to process server$ before...

@genki you're talking about `useStore` value correct?

we need to also run `pnpm api-update`