--- title: "Migration to v19" slug: ovhcloud-design-system-upgrade-migration-to-v19 category: generic type: overview version: 20.0.0 tokens: 443 source: https://ovh.github.io/design-system/v20.0.0/llms/ovhcloud-design-system-upgrade-migration-to-v19.txt --- # Migration to v19 Version 19 of ODS is not the direct follow-up of previous versions, it is a new library built 100% on top of [React](https://react.dev). Previous versions were providing a React version of each component too, but it was in fact a wrapper around the Web Component. Thus it was designed with the constraints related to Web Component (no virtual DOM, relying on DOM selector, ...). With this new version we got rid of those constraints, which gave us some benefits like: - component composition. - easier style customization. - easier React integration (no more `ref` needed, nor literal templates). We've also alleviated a lot of previous component restrictions, as most of them now accept React nodes instead of fixed property. For example, Button will now accept any node (text, text + icon, triple icon, ...) and won't force you to set only a label and an optional icon. Moving out of Web Component also means getting rid of the Shadow DOM. This means you now have direct access to the component DOM and it's easier to add your own style. Though this also means it is easier to break the component rendering, and some custom selectors may break from version to version (see [style customization documentation](https://ovh.github.io/design-system/v20.0.0/guides/style-customization) to know more). Regarding components, we tried to stay as close as possible to their previous interface while keeping them easy to integrate. Though, the way you'll integrate them in your React app should be rethought, to ensure you use them as real React components and not wrapped Web Components anymore. To check how to start with this new version, please follow the [Get Started](https://ovh.github.io/design-system/v20.0.0/guides/get-started) documentation.