- Garden React packages are now published under a shared, fixed (common major) version number
- You are still able to upgrade packages individually
- This change will help us better communicate changes and allows consumers to better understand the state of their dependencies
- This is the first release under the new versioning strategy, v6.0.0
From v6.0.0 all Garden React libraries now require the following peer dependencies:
react@^16.8.0
react-dom@^16.8.0
styled-components@^4.2.0
@zendeskgarden/react-theming@^6.0.0
React v16 upgrade docs styled-components v4 upgrade docs
Beginning with v4, styled-components now uses the React.forwardRef API.
This means that all existing innerRef
, menuRef
, buttonRef
, etc. props are now replaced with ref
.
- Upgrade
react
andreact-dom
tolatest
- Upgrade all Garden dependencies to their most recent, pre v6 versions
- Upgrade styled-components and all Garden dependencies to
latest
- Correct all
innerRef
,buttonRef
,menuRef
, etc. usages based on the styled-components v4 upgrade docs
If you have any upgrade questions please create an issue.