-
Notifications
You must be signed in to change notification settings - Fork 65
Support JS #85
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
Comments
Is this something anybody works on? |
Hey @Sm03leBr00t, probably not in Q2 at least. |
What do you mean Q2? Sorry, I am just a beginner, I love the way nexus works, but typescript for me is just a pain in the ass, excuse my language. Feel free to reach out @jasonkuhrt via email :[email protected] |
@Sm03leBr00t I mean the months of April/May/June. I hear you, its definitely a learning curve, and a tradeoff. In case it helps we have some curated content to onboard with TS here: https://www.nexusjs.org/#/getting-started/onboarding?id=pre-requisites |
@jasonkuhrt Thanks mate, hope to hear more from you |
Question about this recently graphql-nexus/nexus#773 |
Hey gang, +1 for javascript support, and thought I'd add my 2 cents. I get the benefits of typescript, and it's great that Prisma and Nexus are written in typescript - it speeds up my development a lot! The only thing stopping me from using Nexus is I have to learn typescript first. It would be great if you supported javascript, that way I could learn typescript when I'm ready and have the time :) ps. The framework looks like it'll be amazing and I can't wait to try it! Thanks for all the work you're putting into it! |
Thanks for the input @ryanking1809. JavaScript will probably be supported one day, but it is a matter of priority. If many users want it then we'll do it sooner. Otherwise it might take a little longer. Either way we have no intention of not supporting JavaScript right now. While it may seem simple we actually leverage the TS AST for quite a few features, and not just type safety ones e.g. #833. Maybe Nexus for JS would use Babel for its AST work. Maybe we could use Babel for the TS parts too. Another approach could be JS without 100% feature parity with the TS version (such as aforementioned #833). |
All good, thanks @jasonkuhrt. It's hard for me to tell what features will be dropped from reading #833 but if it's easy to do, could be worth testing. |
That one is about, all modules that import |
@jasonkuhrt I agree with @ryanking1809; having to learn TS first is a real pain for people who already built their apps entirely JS. After spending more time examining the examples in Saying this is a pain is to say the least, as I was getting ready to deploy my app and now realize that I have to spend my entire day having to learn some TS to be able to implement a deployable fullstack Prisma, GraphQL Nexus, and Next app. |
Yes, having to work all the way up to deployment with JavaScript and then realizing you must convert your codebase to Typescript is excruciatingly painful. Also happy to privately share my email for updates! |
If the number of 👍 here ever show it as a primary bottleneck to adoption then that would give it priority. |
Added a new label to help track JS issues |
Uh oh!
There was an error while loading. Please reload this page.
Instances
The text was updated successfully, but these errors were encountered: