Posts in category 'javascript' - page 2
Category: JavaScript
How to move JavaScript functions out of its closure to save memory
Long time ago I talked about a pattern I use (a lot!) abusing the functional methods of JavaScript to save some memory and CPU usage. I promised to create a blog post, and almost 4 months after (too much energy draining work…), here is it.
What's `re-start`?
React Native is a framework derived from React that allow to program mobile native apps using JavaScript. It’s only focused on Android and iOS, but its popularity has lead to other implementations of its API for other platforms like Windows, macOS or also web. Thing is, although they share the same APIs and source code is (almost) compatible between them, they are not integrated so it would surface difficulties to add a new platform to an existing code, or forcing to have several different projects that could lead to duplicated efforts or diverge the features of them.
OS lifecycle
projectlint is a projects-wide linter and
style checker I’ve been working on during the last weeks. As part of its set of
rules, one of them
ensures that the current version of the operating system where the code is
running is maintained and updated. But, is there a npm package with info about
the operating systems lifecycles? Nope… enter OS lifecycle.
redux-offline in Node.js
Experimenting with
redux-offline, I’ve done a
Proof-of-Concept about how to use
redux-offline in a Node.js environment,
like a CLI command. This is useful for example when it’s needed to do an offline
aware application that needs to queue some operations until it’s connected
again.