You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ! Since the last update I have been getting the following error in my react app :
Warning: Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.
at span
at span
at button
at components_AwesomeButton
I tried fixing the problem by myself, but I wasn't able to run the development server :(
The error is not a big deal, the buttons works fine, but the error showing up in the console is frustrating and takes up some space, it would be Awesome if you can fix it.
Thanks for your time :)
The text was updated successfully, but these errors were encountered:
Hi Can you provide more context such as the screen or code that you implement?
Your mentioned error occur, perhaps, of forgetting to add "key" attribute to any rendering component.
React wants unique identification for components.
Thank you for your interest :) but the problem started appearing after the last update, as you can see my awesome button is alone, not part of a map function or an enumeration.
Assigning the key attribute like you mentioned does not seem to fix the problem.
I usually make components and I don't have to assign key or ref for my components to work correctly, unless they are being mapped.
I'm pretty sure the problem happens inside Awesome Button.
Edit : the blue button is not an Awesome Button, the dark one in the buttom is an Awesome Button.
Please let me know If you are getting the same error If you use Awesome button ? I tried it in two apps, same problem.
Hello ! Since the last update I have been getting the following error in my react app :
Warning: Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.
at span
at span
at button
at components_AwesomeButton
I tried fixing the problem by myself, but I wasn't able to run the development server :(
The error is not a big deal, the buttons works fine, but the error showing up in the console is frustrating and takes up some space, it would be Awesome if you can fix it.
Thanks for your time :)
The text was updated successfully, but these errors were encountered: