Skip to content

ListHeaderComponent not working #40

Description

@luco

Hey,

I'm trying to use the ListHeaderComponent, but it's not working. It's working fine with RN native FlatList:

				<FlatList
					ListHeaderComponent={() => {
						return <UsersStatuses />
					}}
					ref={flatList}
					data={data.FollowingPosts.posts}
					keyExtractor={item => item._id}
					renderItem={({ item }) => <Post data={item} />}
					onStartReached={loadNewPosts}
					onEndReached={loadPreviousPosts}
					onStartReachedThreshold={0.2}
					onEndReachedThreshold={0.2}
					enableAutoscrollToTop={false}
				/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions