Full stack developer. React & React Native, Ruby on Rails, NodeJS, JS/TS.
Mostly worked on closed-source projects for various startups.
-
Independent Consultant
- Oslo, Norway
- https://magnemg.eu
- @magnemg
- https://gist.github.com/redbar0n
- in/magnemg
Pinned Loading
-
Some ecosystem contributions
Some ecosystem contributions 1### Some of my ecosystem contributions234Nov 2026 -
5I designed "Portable Background Jobs in TS/JS with Drizzle (as an ~80 line module)". Using my knowledge of serverless environments, SQL databases, distributed systems and message queues (Redis, Kafka, SQS, Upstash's QStash, etc.). -
react_architecture_with_simple_decen...
react_architecture_with_simple_decentralized_stores_and_explicit_rendering.md 1### A new front-end architecture for React apps, with simple decentralized stores and explicit rendering control.23This is an idea that I devised through working with AI through many revisions.
45As an experiment (worked out together with Gemini AI), this should be a practical and very performant realization of the [Functional Core, Imperative Shell](https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell) (FCIS) architecture for a TypeScript front-end in React:
-
Nearly fully sound type system in Ty...
Nearly fully sound type system in TypeScript 1### How to get TypeScript as close as possible to a fully sound static type system?23Like in ReScript, PureScript, OCaml, Elm etc.
45To get more sound type inference. To avoid type errors slipping through to production in spite of the type checking.
-
Functional Core, Imperative Shell (F...
Functional Core, Imperative Shell (FCIS) in a TypeScript back-end 1### Functional Core, Imperative Shell (FCIS) architecture in a TypeScript/JavaScript backend23Intro to FCIS for those unfamiliar with it: https://www.youtube.com/watch?v=P1vES9AgfC44FCIS favors using very simple and intuitive FP instead of OOP, and the architecture follows from that.
5 -
reactjs.org
reactjs.org PublicForked from reactjs/react.dev
The React documentation website
JavaScript
-
The MVC-widget - Through refactoring...
The MVC-widget - Through refactoring boilerplate out from an XState example 1### What if you could have vertically sliced MVC-widgets, that looked something like this?23Using React and XState.
45```jsx
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.



