Since this is a breaking change (changing to TypeScript)to existing code base, we should considering doing this after sometime. Idea is to execute this task after few production releases. Focus on following
[ ] Do this change in separate repository without affecting to current code base in JavaScript. (This should not break the existing code base)
[ ] Follow as much as ReactJs best practices.
[ ] Consider using React Query Library for data fetching from API. [Mandatory]
[ ] Try to get other React Important library for smooth flow. (eg: React Formik, React Storybook) [Optional]. This is to code flow, more visibility on Component, errors , make it easy to debug.
Since this is a breaking change (changing to
TypeScript
)to existing code base, we should considering doing this after sometime. Idea is to execute this task after few production releases. Focus on followingseparate repository
without affecting to current code base in JavaScript. (This should not break the existing code base)React Query
Library for data fetching from API. [Mandatory]React Formik
,React Storybook
) [Optional]. This is to code flow, more visibility on Component, errors , make it easy to debug.