Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

React | Sass Calculator App - Tried to build it with TypeScript

react, vite, sass/scss
BBualdo•540
@BBualdo
A solution to the Calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello!

I build it very quickly, had no problem with styling or structure. JS logic wasn't too hard as well. I know I have to improve some bugs, but that is not the case.

I recently started to learn TypeScript. I made up my way through Max Schwarzmuller's course on Udemy, but this course is a mess for me rn, just theory, nothing besides. So I decided to make this app and give TS a try.

First of all - I can't see advantages of using it. I know that maybe this app is too small for seeing power of TS, but please tell me. What should I do to learn it? I need practical knowledge, not theory. I know what Types are, Generics, Decorators and so on... but where can I learn it by practice? I wish FreeCodeCamp had section with challenges about it.

BTW I had to change tsx files into jsx because I coudn't deploy it for some reason. I tried to compile tsx files into dist/.jsx but nothing worked. So another red flag for TS. I don't want to discriminate this language, because I really want to learn it, but for now it is masochism for me.

Do you have any tips or sources of knowledge for me? I need some projects to build with TypeScript. Anything.

Thank you ❤

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on BBualdo's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License