React-Native consume user’s location with redux-saga

Consume the user's location using the navigation API, and open a channel to emit the position changes. Intro The following snippet uses React-Native geolocation. From their documentation: "As a browser polyfill, this API is available through the navigator.geolocation global - you do not need to import it." You may…

Read this article

Next.js & dotenv

Why To have the same .env available in both, client and server side? We will be doing that with the help of Webpack. Install You need dotenv and dotenv-webpack. # With yarn yarn add dotenv yarn add dotenv-webpack # Or; with npm npm install dotenv --save npm install dotenv-webpack --save Setup This…

Read this article

2017 so far

Read this article

Mongoose Orchestrator

Mongoose is the probably the most popular MongoDB driver for NodeJS. The "populate" problem. You can't confuse a .populate with what would be a JOIN in relational database. Seems obvious but is a common mistake for someone coming from a relational database background. You might be thinking "Alright, it's doing…

Read this article

Scripts

List of really simple stuff I've done.                                           …

Read this article