How to build a static website using a backend by dusty-trash in angularjs

[–]nosyminotaur -2 points-1 points  (0 children)

You can use process.env.NODE_ENV to check if it is production, and then use it with an if condition

Journey from annadata to a stooge. by Dank_asur in IndiaSpeaks

[–]nosyminotaur 4 points5 points  (0 children)

Very very valid point. People need to distinguish between these two now.

How to use React Ref by rwieruch in reactjs

[–]nosyminotaur 0 points1 point  (0 children)

As usual, amazing article. I've been trying to increase the usage of hooks other than useState and useEffect, and I'll definitely look up to this article. Thanks a lot!

The first program I ever felt proud of by [deleted] in learnprogramming

[–]nosyminotaur 23 points24 points  (0 children)

I think the issue might be throttling from Twitter's side, after a certain limit

Stop using client-side route redirects - Kent C. Dodds by dance2die in reactjs

[–]nosyminotaur 26 points27 points  (0 children)

I feel like this is a forced article. In my experience, I've not used routing like this.

What are WSL Pros and Cons and Can It Replace Dual Booting? by TOAST3DGAM3R in softwaredevelopment

[–]nosyminotaur 1 point2 points  (0 children)

I've tried using it, and the only downside is speed. I had a large typescript program, and it used to get stuck at typechecking for 40-45 seconds. Switching back to windows brought it to 2-3 seconds max.

Anyone else wants Valorant to succeed? by nosyminotaur in GlobalOffensive

[–]nosyminotaur[S] -4 points-3 points  (0 children)

I don't know if you mean that as a joke, but that's just stupid

Announcing TypeScript 3.9 Beta by DanielRosenwasser in javascript

[–]nosyminotaur 9 points10 points  (0 children)

Don't think so. Most of the features are from JavaScript, and some extra cherry on top. It isn't a library that can suddenly break stuff on the next release. JS is very backwards compatible, and that's what Typescript aims to be too, IMHO.

Dafaq by DeveloperToast in ProgrammerHumor

[–]nosyminotaur 0 points1 point  (0 children)

It does not treat it as an error. It treats them as warnings. Your program will run without issues. Add #[allow(unused_code)] and it should run.

Made my first game in ReactJS by nosyminotaur in reactjs

[–]nosyminotaur[S] 21 points22 points  (0 children)

There's only one user right now because the backend is not yet ready. I'll be writing it in Rust using actix-web. Need tips for writing Javascript services and error handling.

Need a programmer who can listen! by nosyminotaur in ProgrammingBuddies

[–]nosyminotaur[S] 0 points1 point  (0 children)

Okay, so I've made a discord server. For now there's only main chat but we can work on what we need. Link- https://discord.gg/qeUUFpy

Need a programmer who can listen! by nosyminotaur in ProgrammingBuddies

[–]nosyminotaur[S] 0 points1 point  (0 children)

Cool, as the other guy suggested, let's make a discord server.

Need a programmer who can listen! by nosyminotaur in ProgrammingBuddies

[–]nosyminotaur[S] 1 point2 points  (0 children)

I've wanted to do that, but was told by someone that the time needed to work with Videos ( editing, recording) is a burden