React Done & TypeScript Kickoff (Day-6)
React Wrapped Up & Hello TypeScript!
Today was all about wrapping up React and diving into TypeScript basics.
I completed all the remaining React interview questions and started exploring what TypeScript brings to the table for frontend development.
What I Did:
React Questions Completed:
-
Finished all the remaining React questions from the shared interview prep list
-
Covered important concepts:
-
Lifecycle with hooks (
useEffect
,useState
) -
Optimization using
useMemo
,useCallback
-
Controlled vs uncontrolled components
-
Props drilling, dispatch, Reducer.
-
React performance and best practices
-
TypeScript Basics Explored:
-
Learned how to define types and interfaces
-
Go through type annotations in TypeScript.
-
Understood type inference, union types, and generics
-
Compared
type
vsinterface
and when to use which
What I Learned:
-
useCallback
anduseMemo
are powerful but should be used wisely -
TypeScript makes code more predictable and easier to maintain
-
Even simple things like strict type-checking help prevent common runtime bugs.
Gracias:
Grateful for the well-structured question sets that helped me stay focused.
Exploring TypeScript today made me realize how much it helps in real-world.
Excited to keep learning and building with stronger typing in the upcoming tasks!
~ Sanya
Comments
Post a Comment