FaridSafi / FaridSafi/react-native-gifted-form

Doesn't work with React 16

Open
#112 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
211
PR merge metrics
No merged PRs in 30d

Description

When adding `import { GiftedForm } from 'react-native-gifted-form';` to a React 16 app you get an error

> undefined is not an object (evaluating 'React.PropTypes.string')

One would assume that this library needs to be updated to use the `prop-types` module instead https://www.npmjs.com/package/prop-types

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the GiftedForm entry point imported from react-native-gifted-form and search the package for React.PropTypes references. Reproduce the failure in a React 16 app, then verify that importing GiftedForm no longer raises the undefined React.PropTypes.string error and that the existing form behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.