As a side note using React.FC/React.FunctionComponent types to declare functional React components is discouraged for the reasons mentioned here and here
Great job. How do I get an array value from an array in typescript? It gives me an error whenever I do this? I really want to modify my state based on the values from that array. Thanks.
Thanks for your reply. I later filtered and mapped the array before applying the .length () to extract the numbers of items and sort data in that category programmatically.
Creative web developer with expertise in React, TypeScript, and Next.js. Passionate about building scalable, user-friendly interfaces and collaborating with cross-functional teams.
As a side note using React.FC/React.FunctionComponent types to declare functional React components is discouraged for the reasons mentioned here and here
Will check it out thanks!
Great job. How do I get an array value from an array in typescript? It gives me an error whenever I do this? I really want to modify my state based on the values from that array. Thanks.
I found this stackoverflow answer helpful, Do check it out
!Link
Thanks for your reply. I later filtered and mapped the array before applying the .length () to extract the numbers of items and sort data in that category programmatically.
Nice one!
Thanks! :)
correction typescript is a superscript of javascript
Aaah right! nice catch thanks!
This is a brilliant article Riya 👌🔥
Thanks!
I found this article helpful, I am going to be using typescript more in my react projects
I am glad the article was helpful :)
Amazing post!
Awesome article, thanks for share.
Just a small change; Instead of adding an
onClicklistener on the button, you could add anonSubmitlistener to the formYes right that's the better option!
thanks! from rick!
Thanks, It helps
Thanks! :)