-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
Setup (always fill this in):
- iOS or Android?
ios emulator - Expo or regular React Native?
Expo39 - React Native Version:
expo-activity-feed
https://github.com/Quantmatic/getstream_feed/blob/master/package.json
Describe the bug
Following the guide you got here:
Get a keyProp error dump
Warning: Each child in a list should have a unique "key" prop.
Check the top-level render call using <Text>. See https://fb.me/react-warning-keys for more information.
in Text
in Unknown (created by Activity)
in RCTView (at View.js:34)
in View (at createAnimatedComponent.js:165)
in AnimatedComponent (at createAnimatedComponent.js:215)
in ForwardRef(AnimatedComponentWrapper) (at TouchableOpacity.js:223)
in TouchableOpacity (at TouchableOpacity.js:301)
in ForwardRef (created by Activity)
in Activity (at App.tsx:15)
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://github.com/Quantmatic/getstream_feed.git'
- git clone https://github.com/Quantmatic/getstream_feed.git
- yarn install
- yarn start
- expo open ios emulator
Expected behavior
No key prop error
The props that are passed to the components should have a unique key prop
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
const CustomActivity = (props) => {
return (
<Activity
{...props}
Footer={
<LikeButton {...props} />
}
/>
);
};
Metadata
Metadata
Assignees
Labels
No labels