Become a member
Sign in
Marcus Nielsen
Marcus Nielsen

Marcus Nielsen

67 Following
32 Followers
·
  • Profile
  • Claps
  • Responses

Latest

Marcus Nielsen
Marcus Nielsen
Apr 28, 2017 · 2 min read

Optional values are optional

Let’s say that we want to write some button component with react.js. The button can be a call-to-action button (user; please click here), and some default button design that are more neutral.

Marcus Nielsen
Marcus Nielsen
Apr 27, 2017 · 3 min read

Coding by contract

Given that you want to write javascript code that is easy to reason about,
I will give you an article about how to code by contract (also called interfaces).

Let’s look at a function first:

Marcus Nielsen
Marcus Nielsen
Apr 11, 2017 · 3 min read

Redux / React render callback / Most.js

Let's compare Redux, plain React, and RxJS as tools for state management.

Note: Different mental models will favour different tools. See this as a starting point for further discussion, not as a final answer.

6

Marcus Nielsen
Marcus Nielsen
Aug 19, 2016 · 5 min read

simplified testing of user events in RxJS

OK; I admit it. I’ve based my way of using RxJS with react around Rx.Subject. It doesn’t mean I go all wild with them, but it does mean that I keep a strict line between my component’s render function, and the component’s behavior.

1

Marcus Nielsen
Marcus Nielsen
May 5, 2016 · 3 min read

On inclusion of beginner developers

Exclusion costs. It makes development harder for me, product development more complex for my company, and leads to elitism on a social community scale.

I think that open source software is inclusive in its mindset, from licenses to pull…