Browser extension manager UI with React and TypeScript

Solution retrospective
I'm proud I managed to complete the project with TypeScript, I was planning to go through a whole video course on TypeScript to implement the challenge (I didn't have to, I managed with what I already knew).
What I would change about my solution? Well, I would go and use rem units instead of px's for starter (I know I should use them but out of convenience and force of habit I still use them), and I would also implement the focus states, which, I've skipped.
What challenges did you encounter, and how did you overcome them?My main pain point was importing the Extension Item type into the App.tsx
file. It turns out Vite requires the use of the type
keyword when importing types (I didn't want to change the tsconfig file).
I welcome any TypeScript criticism or advice.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Florian Stăncioiu'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