Skip to content

Deprecation: createClass & failed proptypes #5

@alechp

Description

@alechp

Output on clean install / render:

screen shot 2017-10-03 at 3 11 16 pm

> [email protected] start .../react-sketchapp-glamorous
> npm run render


> [email protected] render .../react-sketchapp-glamorous
> skpm build --watch --run

🖨  Copied src/manifest.json in 4ms
Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
Warning: Failed prop type: Invalid prop `style` of type `array` supplied to `View`, expected `object`.
    in View (created by glamorous(View))
    in glamorous(View) (created by App)
    in App
Warning: Failed prop type: Invalid prop `style` of type `array` supplied to `Image`, expected `object`.
    in Image (created by glamorous(Image))
    in glamorous(Image) (created by App)
    in view (created by View)
    in View (created by glamorous(View))
    in glamorous(View) (created by App)
    in App
Warning: Failed prop type: Invalid prop `style` of type `array` supplied to `Text`, expected `object`.
    in Text (created by glamorous(Text))
    in glamorous(Text) (created by App)
    in view (created by View)
    in View (created by glamorous(View))
    in glamorous(View) (created by App)
    in App
🛠  Built ./my-command.js in 2239ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions