react-i18next v7.0.0 Release Notes

    • [BREAKING] As with react 16 you can return multiple elements from render - based on that we do not need to return a wrapper any longer from Trans component.

    0️⃣ Starting with v7.0.0 Trans component per default won't add a parent div around content passed as children. It will just return it's children.

    You still got the option to set a parent if you prefer content being wrapped.

    0️⃣ If you prefer wrapping for all your Trans components (or for backwards compatibility) you can set option react.defaultTransParent to an element on i18next init.