nestdotland/nest.land

Move from Javascript to Typescript

Keimeno opened this issue ยท 12 comments

Request

Since most of nestdotlands code is written in javascript, I think it would be a great idea to convert the project from javascript to typescript.

@Keimeno We are only not-typescript in the website, I think it will be great to migrate, but it should not be a priority. cc @MartonDev

t8 commented

This has certainly been a topic of conversation. I think we're shooting for a TS rewrite in MVP 3. ๐Ÿ‘

Good idea. I want to do this to with @t8 personally

I would love to contribute to this project as well. Personally, I think we should do this in MVP 3.

In my opinion, Vue doesn't really fit with typescript. If we really want to use it, we should migrate to react or svelte

Thats not the case with Vue 2.6. Typescript is perfectly integrated. The only annoying part is, that .vue files need to be declared, and you loose the autocompletion of props. Also a complete rewrite wouldn't make sense. Especially migrating from vue to react.

A complete rewrite would not only allow us to integrate Typescript , Vuex and Yolk more easily but also fix the current issues! I'd love to contribute in this part.

Or we can wait for the coming Vue 3, it is now in rc5๐Ÿ˜Š. And I'd like to contribute to it.

Yeah we should wait until Vue 3. We'd love your contribution.

t8 commented

@HermitSun feel free to email me your discord username, and I'll send you an invite to our internal chat! It may be easier to coordinate from there.

My email: tate@arceum.co

Maybe we should even build the project with nuxt then. One of the best things about npmjs.com is, that all packages are indexed by google.

t8 commented

@Keimeno good point. We actually have some new developments regarding that ๐Ÿ˜„

CC @maximousblk