Kureev / Kureev/react-native-list

Usage of `@providesModule`

Open
#1 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
44
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hey there,

This is really useful for people using prior versions, but using `@providesModule` makes this unusable for Expo folks because `rn-cli.config.js` doesn't exist with Expo. With Expo we have to wait for them to publish a new sdk before we can use the latest RN version, so changing your code to use relative imports instead of `@providesModule` would make it much easier for users to get access to FlatList+. Your code is in the same directory so you don't really need that special module resolution. Just throw a `./` in your requires and we all prosper.

Thanks for your work!

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the JavaScript source for @providesModule and the require calls that depend on rn-cli.config.js; the issue says the relevant modules are in the same directory. Confirm the affected imports work without rn-cli.config.js in an Expo setup and that FlatList+ remains usable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.