Friday Picks 022

Read more →

Gatsby.js: Heap Out Of Memory JavaScript Crash

Lately, my development server in Gatsby.js repeatedly crashed: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory I found a similar issue on GitHub. Suggested fixes: updating Gatsby and especially updating netlify-cms-app. My problem: All my dependencies were up to date, and I didn't have netlify-cms-app, gatsy-plugin-netlify-cms, or similar installed. Solution (GitHub): add NODE_OPTIONS = "–max_old_space_size=4096 to node.js. You can set a universal variable in Fish shell:
Read more →

Delete All node_modules Folders Recursively

Read more →

Tool: pnpm - Fast And Lean Package Manager for Node.js

A few days ago, I switched to fnm as my version manager for Node.js. Before, I installed the default nodejs package that came with Arch Linux. But sometimes I would update my operating system, and thus getting a new Node.js version, and my system would break. With fnm, I have fine-grained control over which version of Node.js I'm running. Now, let's talk about package managers. Node.js ships with npm as the default package manager.
Read more →

Friday Picks 021

Read more →

A Look Back At Tech MeetUps And Ruhr.js

I've attended several local meetups this year. Being new to tech can be daunting because you don't know anyone, and you might feel that you don't fit in. As a woman, it can also be intimidating because you might be the only woman present. I'm pretty extrovert in such situations, so it was never a problem for me. But I can understand if others might feel uncomfortable. (I never experienced prejudices or sexism at meetups, though, I was always on equal footing with other attendees.
Read more →

A Look Back At My Programming Journey So Far

Last weekend I attended my first tech conference: Ruhr.js 2019 in Bochum, Germany. Milestone reached! I will write about my impressions tomorrow. My Coding Journey I'm a self-taught developer who decided one day (on a whim) to learn how to program. I started with HTML, CSS, and JavaScript with Freecodecamp. Soon I realized that I didn't have a clue on how to design programs, how to come up with a concept and make it happen as a web application.
Read more →

Friday Picks 020

Read more →

Working On Stale State And Hooks

Learning the fundamentals of React was reasonably straightforward. React.js adds a lot of abstraction over JavaScript. But after you've got the basic building blocks down, you can get quite far. You can profit from the vast ecosystem, and the tons of available material (tutorials, StackOverflow, blog posts, etc.). But the more you work with state, props, you realize that there are a lot of pitfalls. You probably don't need derived state, but sometimes you do.
Read more →

Friday Picks 019

Here are some useful links for your pleasure: Stand Up a Node.js Server with NestJS including TypeScript and GraphQL - a tutorial by Aryan J. Robot, a new JavaScript library for finite state machines - a simpler and smaller alternative to x-state 253 of the very best tools and resources for web designers, developers and makers – in a nutshell. You can now generate self-hostable static blogs right from your DEV content via Stackbit - this blog runs on Gatsby.
Read more →