Deprecated features

These features were deprecated in the preparation of Qwik for its stable release.

If you happened to come across one of them and don't know what its replacement is, we quickly mention them in this table with the link to their new documentation โœจ.

Qwik

Deprecated functions and their replacements


DeprecatedReplacements
useWatch$useTask$
useMount$useTask$
useServerMountuseTask$ + isServer
useClientMountuseTask$ + isBrowser
useClientEffect - useClientEffectQrluseVisibleTask$
useBrowserVisibleTask - useBrowserVisibleTaskQrluseVisibleTask$
useEnvDatauseServerData
useRefuseSignal
createContextcreateContextId

Qwik Router (Formerly named "Qwik City")

Deprecated functions and their replacements


DeprecatedReplacements
useEndpoint routeLoader$
loader$ - loaderQrlrouteLoader$
action$ - actionQrlrouteAction$

Contributors

Thanks to all the contributors who have helped make this documentation better!

  • nsdonato
  • mrhoodz
  • manucorporat
  • patrickjs
  • gioboa