-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
TYPE: bugSomething isn't workingSomething isn't working
Description
Qwik Version
0.0.23
Operating System (or Browser)
Linux
Node Version (if applicable)
v16.3.0
Which component is affected?
Qwik Runtime
Expected Behaviour
The callback that is passed to useServerMount is executed.
Actual Behaviour
It doesn't seem to execute the callback.
Additional Information
Reproduction Steps:
- Spin up a new starter with npm init qwik@latest
- Use the standard starter (any server, default options)
- Add the following code to app.tsx under the state declaration:
useServerMount$(() => { console.log("Running server mount"); state.name = "Qwik" }); - npm run dev. The console log is never printed and name is still set as 'World'
Metadata
Metadata
Assignees
Labels
TYPE: bugSomething isn't workingSomething isn't working