Skip to content

v4.0.0

Compare
Choose a tag to compare
@pladaria pladaria released this 10 Aug 08:21
· 1509 commits to master since this release
  • Breaking change: Decouple from react-router-dom.
    • You can now provide your custom Link component to mistica using the ThemeContextProvider. There are
      some examples in the examples/ folder on how to use this feature with popular routers, like react-router
      and Next.js router.
    • By default, if you don't provide a custom Link component, @telefonica/mistica will render simple <a>
      elements.
  • Reset some browser default styles at component level.
  • SSR compatibility to support using @telefonica/mistica in Next.js apps.
  • Added a examples/ folder. Added some examples on how to use @telefonica/mistica with common
    meta-frameworks, like Create React App or Next.js
  • Some fixes in <Switch /> component to avoid some warnings in newer react versions.