NoSleep Javascript Blog

A blog by nacho and franleplant.

We talk about Programming, Tech Culture and random stuff.

About us

How to share React Components between Applications via NPM

January 21, 2020 • 24 min read • by franleplant

In this post we explore in detail how to share React Components which are typically made of a bundle of Javascript, CSS (styles), Images, etc. We explore how to package and bundle the code with Webpack so that it can be published and distributed via a public or private NPM repository and later consumed appropriately. We also analyze different theming strategies for larger Component Libraries and UI Frameworks. And finally we provide a recommended way of packaging your Components in a simple and very flexible way.

Using Azure Functions to create a page view counter

December 26, 2019 • 15 min read • by nacho

We can extend static sites by creating a simple page view counter that is processed in a serverless manner, and for free. Microsoft Azure provides Functions as a flagship service to do this. Let's explore building it on Visual Studio.

Create a blog with Gatsby.js

December 23, 2019 • 10 min read • by franleplant

In this post we are going to cover the steps we took to create the nosleepjavascript.com blog in simple, easy, steps using the latest front end technologies: Gatsby.js (JAMstack), NodeJs, React, GraphQL, Javascript, GitHub Pages and GitHub Actions