DEV Community

Cover image for Learning TypeScript with React - Part 1

Learning TypeScript with React - Part 1

Ana Liza Pandac on July 01, 2019

⚑TL;DR: Understanding what are types, type annotations, why use them and how to use them can help you catch errors during development while also en...
Collapse
 
wboakye profile image
William Boakye

Awesome read! Patiently awaiting part 2!

Collapse
 
analizapandac profile image
Ana Liza Pandac

Thanks William. I already had a draft of the second part but it needs more work. I'm planning to publish it by the end of this week so stay tuned 😊

Collapse
 
chaznut profile image
James Nutter

Awesome article. I just started using Typescript as well and found this really useful. Also your application is great, really love the design and it's very quick!

Collapse
 
analizapandac profile image
Ana Liza Pandac • Edited

Thank you James. I also learned a lot from writing this and I'm glad it helped you.

I had a lot of fun coming up with the design as well, I had ideas on what elements should be present in the page but as for the rest I basically experimented with them while coding and it took me quite some time until I'm satisfied with it πŸ˜†

As for why it's quick, I believe fetching the initial videos from a JSON file instead of reaching out to Youtube on page load really helped in increasing the page speed. As well as deploying it on Netlify.

Collapse
 
dtaylorbrown profile image
Daniella Taylor-Brown

Great read, I'm about to dive into using Typescript in a side project. Can't wait for part 2!

Awesome Demo too 😊

Collapse
 
analizapandac profile image
Ana Liza Pandac • Edited

Thanks Daniella. I'm excited to post it soon as well 😊

And good luck with your next project ☺️

Collapse
 
shazz profile image
shazz

Superb job ... waiting to her for more.