Show HN: A 1KB CSS-in-JS library with all the bells and whistlesgithub.com6 points·by sunesimonsen·vor 6 Jahren·6 comments
Men, we need to talk about women in engineeringmedium.com3 points·by sunesimonsen·vor 7 Jahren·0 comments
Beating Levenshtein with Ukkonen's algorithmgithub.com2 points·by sunesimonsen·vor 9 Jahren·0 comments
Test Full Virtual DOM – Unexpected-Reactsurvivejs.com1 points·by sunesimonsen·vor 9 Jahren·0 comments
sunesimonsen·vor 2 Jahren·discussI think property based testing becomes a lot easier when you can just use normal asserts like this: https://github.com/unexpectedjs/unchecked
sunesimonsen·vor 4 Jahren·discussReally interesting to see Preact adopt this kind of model.I have been working on a similar programming model for a while, where this kind of state management is the only approach:https://github.com/sunesimonsen/dependable-view https://github.com/sunesimonsen/dependable-stateThe library has other kinds of agendas like being able to run without a build step, being really small and allow multiple versions in the page.Examples: https://github.com/sunesimonsen/dependable-example-hackernew... https://github.com/sunesimonsen/dependable-example-todomvc
sunesimonsen·vor 6 Jahren·discussYou are actually right - I should update the readme with unpkg information:import { css, classes } from "https://unpkg.com/[email protected]/dist/bundle.esm.min.js";
sunesimonsen·vor 9 Jahren·discussAn alternative that is much easier to adopt, is to use unexpected-check http://unexpected.js.org/unexpected-check/