🤖 Coding News ⚡️
27.2K subscribers
2 photos
1 video
807 links
High quality articles, videos, and tutorials about programming 💻

HTML, CSS, Sass, JavaScript, TypeScript, React, Angular, Electron, Node, Vue, GraphQL and other topics 💥

@CodingChat talk with other engineers
@CodingNewsFeedbackBot advertisement
Download Telegram
https://t.iss.one/NodeJSNews/16

​​Cloud Foundry (CF) has a concept of health checks. These can take a few forms, but the preferred approach is HTTP (vs port- or process-based checks). Applications can expose a /healthcheck endpoint which the Cloud Controller polls. If an application becomes unhealthy (indicated by non-200 HTTP status code), restarts are attempted.

#NodeJS
https://t.iss.one/ReactJSNews/17

​​A few days ago we added a new Invite people by email feature, to an app we’re developing internally at Ingenious. The app consists of a board with a collaborative text editor and some cards that complement the behavioral insight approach used in product design consulting. Tech-wise the app is built with React, bootstrapped with create-react-app, Firebase as the backend and hosted on Heroku.

#react #cra #firebase
https://t.iss.one/WebpackNews/15

​​There are a million tutorials online, so you probably have seen a thousand different ways to configure Webpack file. And all of them will be working examples. Why is it so? Webpack itself has been evolving really fast and a lot of loaders and plugins have to keep up. This is a major reason why the configuration files are so different: with a different version combination of the same tools things might work, or break.

#Webpack
https://t.iss.one/WebpackNews/16

​​You’re a junior developer that recently landed on the JavaScript ecosystem. There’s so much going on that you have no idea where to start. Maybe try React? That library is cool, I should try it. Why isn’t this working?

​​One thing that I found is that being part of the ecosystem is the quickest way to understand it. That’s why in this article you’ll learn how to publish a npm package and get it working in your projects as fast as possible.

#Webpack #Babel #NPM
​​Most websites these days are Single Page Applications (SPA for short) where a single entry file handles all routes that a user might visit. Swept up in the ongoing trend of hosting in the cloud you might find yourself needing to “dockerize” your SPA. That is to say wrap it inside a Docker image and run it as a container.

#Docker
​​As we’ve seen in the previous parts of this series, servers can send HTTP headers to provide the client additional metadata around the response, besides sending the content that the client requested. Clients are then allowed to specify how a particular resource should be read, cached or secured.

#HTTP #WebSecurity
​​Imagine being a backend developer who needs to implement sessions in an application: the first thing that comes to your mind is to issue a token to clients and ask them to send this token with their subsequent requests. From there onwards you are going to be able to identify clients based on the token included in their request.

#HTTP #WebSecurity
​​If you want to pass an array into a variadic function. You can use ES6 spread to turn that array into a list of arguments. Yay, so much cleaner and no useless null from the old apply way 👏

#JavaScript
​​​​React can be slow. Well, I mean, any medium-size React application can seem slow. But before you start looking for alternatives, you should know that any medium-size Angular or Ember application is slow, too.

#React #Performance
​​Here are three ways to filter out duplicates from an array and return only the unique values. My favorite is using Set cause it’s the shortest and simplest 😁

#JavaScript
​​Recently there were a couple of threads on Twitter discussing the difficulties associated with learning d3.js. I’ve also seen this come up in many similar conversations I’ve had at meetups, conferences, workshops, mailing list threads and slack chats. While I agree that many of the difficulties are real, the threads highlight a common misconception that needs to be cleared up if we want to help people getting into data visualization.

#D3
​​​​A few days ago, version 10.5.0 of Node.js was released and one of the main features it contained was the addition of initial (and experimental) thread support.

#NodeJS
​​Maybe some times you have overused the Array methods map, reduce, filter, find, etc. and that could make out applications to use more memory of what they should be using.

#JavaScript
​​This blog post is for JavaScript developers who wanted to develop a Web Application using Full Stack capabilities of JavaScript. As we all know, JavaScript has been evolved and is still evolving to give us the power to write our Web Applications not only from Client-Side but also from Server-Side.In this article, I will show how the below tools and technologies can be leveraged for front-end development of a web application.

#React #Redux #Sass #Webpack
​​Advancements in technology have made Virtual Reality (VR) more immersive and affordable than ever. This immersive environment can be similar to the real world. Or it can be fantastical, creating an experience that is not possible in ordinary reality.

#VirtualReality
​​I am a technologist-turned-analytics professional since five-plus years. Recently, a friend asked me how he can set up a custom event tracking on his small business website and understand his site’s user behavior better.

#GoogleAnalytics
Where are you guys from? Replying on this poll will help me do a better job scheduling posts. Thanks in advance 🤗
public poll

Asia – 21
👍👍👍👍👍👍👍 44%

Europe – 13
👍👍👍👍 27%

Africa – 10
👍👍👍 21%

South America – 3
👍 6%

North America – 1
▫️ 2%

Australia
▫️ 0%

👥 48 people voted so far.
🤖 Coding News ⚡️ pinned «Where are you guys from? Replying on this poll will help me do a better job scheduling posts. Thanks in advance 🤗 public poll Asia – 21 👍👍👍👍👍👍👍 44% Europe – 13 👍👍👍👍 27% Africa – 10 👍👍👍 21% South America – 3 👍 6% North America – 1 ▫️ 2% Australia ▫️»