Skip to content

ComponentPlayground seems to have broken #4

@ohnoitsyou

Description

@ohnoitsyou

While developing on my own I noticed that slides that loaded the ComponentPlayground don't render properly and I can't navigate away from the slide.
I'm also noticing several errors and a warning being thrown in the console:

warning.js?8a56:44 Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `TodoList`. See https://fb.me/react-warning-keys for more information.
invariant.js?4599:45Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).
invariant.js?4599:45Uncaught Invariant Violation: removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).
warning @ warning.js?8a56:44
(program):88 
            Deprecation warning: noRender is being deprecated in favor of wrapped components and will be removed in the 1.x release.
            https://github.com/FormidableLabs/component-playground/issues/19 for details.

The warning seems benign enough. Obviously the errors are causing the problems but I'm not experienced enough to know what to do to fix them.

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