Skip to content

vike-react 0.4.0

0.4.0 (2024-01-21)

Bug Fixes

  • deprecate pageContext.title (2c05738)
  • deprecate pageProps usage (cb1a14f)
  • improve bug error message (21bdb82)
  • simplify <head> management (572d71d)

BREAKING CHANGES

  • Setting the page's title using pageContext.title is deprecated (pageContext.description and pageContext.lang are also deprecated), use the settings title and Head instead, see https://vike.dev/head
  • Fetching data using pageContext.pageProps is deprecated, use data() and useData() instead, see https://vike.dev/data-fetching
  • Replace import vikeReact from 'vike-react' with import vikeReact from 'vike-react/config'. (Typically in your /pages/+config.js.)
  • Update Vike to 0.4.160 or above.