Implement typescript in Yoga components #459
Replies: 2 comments 3 replies
-
I think it's a great idea! Do you already have any formed opinions that will make typings available directly in lib or through DefinitelyTyped? Also, do you have any preference for what will be worked on first? The components, theme or the systems? |
Beta Was this translation helpful? Give feedback.
-
I would like to understand better the technical motivations behind this and why we would like to implement TS in Yoga. What are the pros and cons of using TS? Also, do our software engineers know TS? Could this be a barrier to contribution to Yoga? These are some points that I have doubts about and would like to clarify. In addition, do we have examples of other design systems that use TS? I think it would be nice to study why they chose this language and maybe even do a benchmarking! |
Beta Was this translation helpful? Give feedback.
-
Hi,
We are thinking of migrating Yoga to typescript, with the justification of improving the experience of those who use the lib and for those who develop and contribute to Yoga.
The initial idea would be to migrate the
components
,theme
, and thesystem
to typescript. Of course, migrating to typescript requires some effort. In conversations with @tcK1 and @nypacheco, we had different but very interesting points and I'd like to collect more feedback on the migration!Beta Was this translation helpful? Give feedback.
All reactions