05 Jul 2020

Tagged Template Literals are Awesome!
Tagged under "better write this down before I forget"

You will often need to implement text that looks like this:

Highlighted Text

Now, it's fairly simple enough to do in HTML, but when you do it in React Native it looks a bit gnarly:

<Text style={styles.text}>
  You’re going to <Text style={styles.highlighted}>send a message</Text> to …
28 Jun 2020

Building Flagitect
just like a wavin flag

Flagitect just hit version 1.2.0, and so this is a brief introduction into the technical aspects of how the app is structured.

Flagitect v1.2.0

Stack

The app is written in React Native (currently version 0.62). There is no navigation library in use, as the app only needs some modals …

14 Oct 2019

My take on doing 'Clean Architecture' in React (Part 2)
What's your type?

Core Folder Structure

In the last part, we broke the application core out, with layers for entities, usecases, and infrastructure. The example code we used in the last part (without breaking the core out) can be found on Github.

Now let's look at how we can implement the core. I will be using …

06 Oct 2019

My take on doing 'Clean Architecture' in React (Part 1)
Friendship is magic? Wait till you see Dependency Inversion!

Clean Architecture

Clean Architecture, simplified.

I'm a huge fan of Robert C. Martin's work in general, and Clean Architecture in particular. I'm frequently on the lookout for how to apply it to the different system architectures and frameworks we work with.

Which modules should be decoupled? I think the rule is similar …

22 Jul 2016

July is the month of buses, and 2016 is the year of JS

Yesterday, there I was, minding my own business, when Facebook "memories" or whatever threw this curveball at me:

Bus Route Anniversary

Turns out it was exactly 5 years ago that I hacked together a small piece of PHP, with a liberal amount of SQL logic thrown in, and it became sort of popular …


Built using Pelican.