Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update script.js #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update script.js #2

wants to merge 1 commit into from

Conversation

prakhaaar
Copy link

Hello Sir,

I was recently studying with your react course ,but i was facing problems during fetching the API.

I did research and found these listed edits:

Unique Key Prop: The second version uses a key prop in the Card component. In React, it's important to provide a unique key prop when rendering lists of components to help React identify which items have changed, been added, or removed.

JSX Simplification: The second code block simplifies the JSX syntax by removing the explicit return statement and wrapping the Card component directly in the parentheses, which is a more concise and idiomatic way to write JS

I suppose many will be facing this issues and changing them would be helpfull.
Thank you for your course its really the best.
Thank you

Copy link

netlify bot commented Sep 7, 2024

Deploy Preview for creative-brioche-9a125d canceled.

Name Link
🔨 Latest commit 62c99bf
🔍 Latest deploy log https://app.netlify.com/sites/creative-brioche-9a125d/deploys/66dc91f41b08ab00088e1760

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant