FaridSafi / FaridSafi/react-native-gifted-listview

setting 'ref'

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

Description

very nice job, loved this package

my question is setting refs

```
ref={(ref) => this.listView = ref} // how we do in in other components but doesnt work here
ref='listView' // works
```

is there any preference in doing the second method ?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by reproducing the callback-ref and string-ref examples from the issue, then inspect how the list view handles refs; done means establishing and documenting which ref form is supported, or confirming the callback form works.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.