Skip to content

Winding up - Passing props to a component with React & TypeScript#91

Merged
arvish-codal merged 1 commit intomainfrom
7_June
Jun 7, 2024
Merged

Winding up - Passing props to a component with React & TypeScript#91
arvish-codal merged 1 commit intomainfrom
7_June

Conversation

@arvish-codal
Copy link
Copy Markdown
Owner

Tips and Tricks related to props & types in React :-

  1. De-structure props when defining the component.
  2. Mention types in a separate file.
  3. Re-using types as & when necessary.

@arvish-codal arvish-codal merged commit c773476 into main Jun 7, 2024
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.

2 participants