These are chat archives for jdubray/sam

16th
Oct 2017

innerself is inspired by React and Redux. It offers the following familiar concepts:

composable components,
a single store,
a dispatch function,
reducers,
and even an optional logging middleware for debugging!
It does all of this by serializing your component tree to a string and assigning it to innerHTML of a root element. It even imitates Virtual DOM diffing by comparing last known output of components with the new one :) I know this sounds like I'm crazy but it actually works quite nice for small and simple UIs.

If you don't care about size constraints, innerself might not be for you. Real frameworks like React have much more to offer, don’t sacrifice safety, accessibility, nor performance, and you probably won’t notice their size footprint.

innerself was a fun weekend project for me. Let me know what you think!

Jean-Jacques Dubray
@jdubray
Oct 16 2017 17:23
Enter Fastify. Fastify is a web framework highly focused on speed and low overhead. It is inspired from Hapi and Express and as far as we know, it is one of the fastest web frameworks in town. Use Fastify can increase your throughput up to 100%.
Fred Daoud
@foxdonut
Oct 16 2017 18:17
innerself is a less-than-serious pet project and I don't recommend using it in production.