Okay, so I was playing around with the Context Api in React and I wrote a reducer function like this const reducer = (state, action) =>{ switch(action.type){ case "ADD_CONT...
@e_to_the_i_pie , what about this? { "arr": [ { "id": "9929420730013519417213389", "arr": [ { "id": "9929420730013519417213389", ...
I'm not saying, easy to fix is all that is there to reliability. I'm asking, if being easy to fix adds to the reliability of a product. Even if something goes wrong, the turn...
In frontend development is doing something like this a good practice? $("#solution").html(` <div class="soln-header"> Solution </div> <div class="card m-b-sm b-...
Is node suitable to build large applications, which has to handle large number of I/O and number crunching tasks?
I have an object like this obj:{ obj:{ obj:{ } } } Let's say it can go N deep, how to do iterate over this object without using recursion?
Hi guys, I'm a Linux noob, just shifted to Ubuntu 18.04 from Windows 10. So far I'm loving the UI of Ubuntu but I'm having second thoughts about it. I've looked at Linux Mi...
Hey, guys I have a small doubt, I'm building a react app and the backend I'm using is Django, and the API response is in snake_case, should I convert it to camelCase and send...
Guys, Let's say that you are assigned a task to build the client side for a big CRM platform from scratch. The employers preference is Vuejs (most preferred) and React. a) Wh...
Forget the chat app, think of it as a security upgrade for Gmail. Okay? Its a Gmail client but every mail you send via the app, you can encrypt. Your email and public will be...
I have a doubt about currying, Where in an situation do I apply it?
Opinion about golang?
So if I'm calling a number of other functions inside the "success" portion, I shouldn't be using the catch and should let the error pass through and resort to handling those i...
But being easy to fix is also a part of reliability isn't it?
js got that in es6 right?
Disclaimer: This might be a very very foolish question. Is it possible to gzip files on the client side? Using plugins like gulp-gzip and it to the prod build task of a web...
So in the above the presence of && true does nothing? And can be omitted?
What's the fun in that? I'd have to write js code knowing there is a better way out there which I Dont know about.
I'm a complete noob to back end web development and I'm looking into learning a technology. Is Go good for beginners?
Really haven't used currying in any real world scenarios. Could you share an instance where this has been useful?