React how to convert Class to Hooks tutorial

The Hooks are a functional component that simplify the use of React, and allow use to create some reusable component. I have changed on my TodoList App a class to a Hooks The React Class React Hooks I have changed a React Class with React Hooks: timer managed…

Read more »

30 Second to React – Collection of useful React snippets

Today i want to speak about this beautiful collection of React snippet that i found on github¬† There are some useful function, in my opinion the most important are about the use of Hooks. I report here the Hooks found on GitHub Hooks useFetch useInterval useNavigatorOnline useTimeout useFetch…

Read more »

React Todo List with Undo Timer on Delete

Goodmorning, it’s more time that not write, i spent some time to study ReactJS, so i think that Angular is better, but so ReactJS has its “why”.Today i want to show how create a simple React TodoList Example in which i have implemented a system to delete an item,…

Read more »

Drawing App with Nodejs, Socket.io and Expressjs

This is my first nodejs app created with express.js 4 and socket.io 1.Download it on GitHub A demo is to:¬†drawing.francescopantisano.it The app permit to draw on a map in real time with other people in a specified “room”, so only who know the name of the room can…

Read more »

Nodemcu Light Control using Nodejs SSDP

LightControl con Nodejs SSDP questo pacchetto ha una parte di script Arduino da poter lanciare su tutte le vostre NodeMcu e una parte applicativa realizzata con nodejs che gestisce le periferiche ed interagisce con loro utilizzando il protocollo SSDP che trovo veramente interessante per l’aspetto iot, evita di…

Read more »

Javascript Global Error Handler

Today i’have created a simple class to log in the backend the javascript error, so i can have a real time monitoring of how error appear to the users. We can use a window.onerror and the addEventListener rewrite. Window.onerror has been available in most browser, but the argument…

Read more »

Angular 6 – ADAL Dynamic Parameter initialization

We have seen in the previous article, how to implement the ADAL Authentication in Angular 6. Now we can see, how to do, for init the ADAL Module with dynamic parameter, for example we can take them from database, or json file configuration. We must to open the…

Read more »

Angular 6 – ADAL Authentication

Today i want to talk to you about Microsoft ADAL (Azure Active Directory Authentication Library). ADAL allows users to authenticate in Active Directory (AD) local or in the cloud and take token to protect the API. How can i do to integrate it in a Angular 6 app?…

Read more »

Angular 6 Material – MatDatePicker italian format dd/MM/yyyy

Material Angular is very very useful library to generate beautiful app with material design and use all the power of angular.Today we can see how to set the format for the MatDatePicker with dd/MM/yyyy so how to customize it, then you can change it. In our Angular 6…

Read more »

Angular 6 – IE 11 method fill not supported

You have created your angular app and now you have some error about method fill, for example: “Object doesn’t support property or method ‘fill’”. Line that fail: var HEADER_FILLER = new Array(HEADER_OFFSET).fill(null); (Angular core). Don’t worry the solution is easy. You must open your file on: src/polyfill.ts At…

Read more »