Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TypeScript Support to the Project #565

Open
5 tasks
Danguya opened this issue Oct 4, 2023 · 2 comments
Open
5 tasks

Add TypeScript Support to the Project #565

Danguya opened this issue Oct 4, 2023 · 2 comments

Comments

@Danguya
Copy link
Contributor

Danguya commented Oct 4, 2023

Hello team,

I'd like to propose adding TypeScript support to our project.
Currently, we are using older versions of several libraries, such as webpack, babel, karma, and ECMAScript.
I believe introducing TypeScript will help us write safer and more readable code, leveraging the benefits of static typing.

Reasons to adopt TypeScript:

Static Typing: This will help us catch errors at compile-time rather than run-time.
Readability: TypeScript can make our code more readable, especially when dealing with complex data structures.
Self-documenting: With TypeScript, we can have better self-documentation through types.
IDE Integration: Many IDEs have robust support for TypeScript, which can enhance developer productivity.
Proposed Tasks:

  • Update libraries to the latest versions that are TypeScript compatible (webpack, babel, karma, etc.).
  • Set up TypeScript in the project.
  • Refactor existing files to use TypeScript.
  • Update project documentation to reflect the changes.
  • I'd love to hear feedback from the team on this proposal. If everyone agrees, I'm willing to assist in the migration and setup.

Thank you!

@leandroruel
Copy link

@Danguya
Copy link
Contributor Author

Danguya commented Oct 5, 2023

@leandroruel

No, I mean for us to gradually migrate the 'react-scroll' project to TypeScript, as this will make it easier for us to use the latest ECMAScript features, resulting in simpler and more modern JavaScript code. It will also allow us to move away from direct use of Babel and Webpack. I believe this will make the project more up-to-date and appealing for more developers to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants