Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

The react native example is very outdated and not build successfully #2908

Closed
MoeMamdouh opened this issue Apr 3, 2020 · 1 comment
Closed

Comments

@MoeMamdouh
Copy link

The react native example is very outdated and not build successfully
the old react native and expo version used

"expo": "32.0.6",

also used an outdated component like ListView


 const ds = new ListView.DataSource({
      rowHasChanged: (r1, r2) => r1 !== r2,
    });
    const hits =
      this.props.hits.length > 0 ? (
        <View style={styles.items}>
          <ListView
            dataSource={ds.cloneWithRows(this.props.hits)}
            renderRow={this._renderRow}
            renderSeparator={this._renderSeparator}
            onEndReached={this.onEndReached}
          />
        </View>
      ) : null;
    return hits;
@dhayab
Copy link
Member

dhayab commented Dec 21, 2022

Hi! We're doing a round of cleanup before migrating this repository to the new InstantSearch monorepo. This issue seems not to have generated much activity lately, so we're going to close it.

Since then, we updated the react native examples to more recent versions of expo, and are using FlatList instead of ListView.

@dhayab dhayab closed this as completed Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants