Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of VelocityTransitionGroup. #250

@htoor91

Description

@htoor91

Using the latest version of treebeard (4.2.4) and having this issue with VelocityTransitionGroup. Several people have mentioned that animations={false} as a prop to Treebeard should help fix it, but it doesn't. I've tried downgrading, but no success.

To note, it works perfectly fine on storybook, but when we use it in app, it breaks. We're trying to render the component on an animated sidebar, and that's the only difference between the storybook version and our in app version...all the data is the same and static for testing purposes. It just breaks and shows that error in console when the component is mounted onto our sidebar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions