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 contributions23Oct 2026 -
4I helped design how the [One.js]([url](https://onestack.dev/)) framework handles searchParams. One is a framework that unifies React + React Native, so you can build crossplatform apps from a single codebase without code duplication or needing multiple frameworks (like Next + Expo).
5https://github.com/onejs/one/issues/1039 -
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### FCIS architecture in a TypeScript/JavaScript backend23I worked with Grok AI through many revisions to devise how exactly a FCIS architecture could look in a TypeScript/JavaScript backend. It is similar to the Onion architecture, but more pure (no mocks). This is the result of that work.
45--- -
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.



