Skip to content

Doesn't work with React 16 #8

Description

@kimniche

Trying to start up node with a fresh install of React 16 results in:

node_modules/lazy-input/dist/LazyInput.js:8
type: React.PropTypes.oneOfType([// ['text'] type of input/textarea

I believe you can resolve this by installing the prop-types package and accessing proptypes through it in the relevant file:

import PropTypes from 'prop-types'

//...

type: PropTypes.oneOfType(...)

Activity

  1. dchhetri commented on Feb 7, 2018

    @dchhetri

    👍 Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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