ladjs / react-native-loading-spinner-overlay

:barber: React Native loading spinner overlay
MIT License
1.59k stars 173 forks source link

Show warning on RN 0.19 #4

Closed pewh closed 8 years ago

pewh commented 8 years ago

It seems RN 0.19 change the behavior of how Portal work. I got this error when running on RN 0.19. Warning: Each child in array or iterator should have a unique "key" props. Check the render method of "Portal".

bcalik commented 8 years ago

Same here on 0.20.

FladeX commented 8 years ago

Same problem, 0.20

tal952 commented 8 years ago

+1

niftylettuce commented 8 years ago

@pewh Where did they change behavior, and how?

niftylettuce commented 8 years ago

Closed per #8

ha-family commented 8 years ago

could anyone help me, how to update the fixed package? my package without src folder even i run npm update react-native-loading-spinner-overlay warning message show up all the time, please help me~ thanks

niftylettuce commented 8 years ago

@liu-yuhuan What version do you have in package.json? What version is in the ./node_modules/react-native-loading-spinner-overlay/package.json file? Also, can you share a screenshot?

ha-family commented 8 years ago

my react native version is 0.20 and package info as below

"name": "react-native-loading-spinner-overlay", "version": "0.0.6", "description": "The only pure React Native Native iOS and Android loading spinner (progress bar indicator) overlay", "main": "lib/index.js",

niftylettuce commented 8 years ago

Can you try to upgrade to v0.0.8? Do it with npm install --save react-native-loading-spinner-overlay@latest. The latest version in NPM is v0.0.8, and you seem to have only v0.0.6.

ha-family commented 8 years ago

thank you!!!!