meliorence / meliorence/react-native-image-gallery
Support for defaultProps will be removed from function components in future major release
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 717
- Forks
- 298
- PR merge metrics
- No merged PRs in 30d
Description
Error is generated with the latest versioon of react native.
Warning: ImageGallery: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
{
"dependencies": {
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.2",
"react-native-reanimated": "^3.16.1",
"react-native-safe-area-context": "4.14.0",
"react-native-screens": "^4.0.0",
"react-native-svg": "15.9.0",
"react-native-web": "~0.19.6",
"typescript": "~5.6.3"
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the ImageGallery function component and its use of defaultProps, then verify the warning under the dependency versions listed; done means the warning no longer appears while the component still provides its defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, react-native
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100