Show HN: A 1KB CSS-in-JS library with all the bells and whistlesgithub.com6 points·by sunesimonsen·6 ปีที่แล้ว·6 comments
Men, we need to talk about women in engineeringmedium.com3 points·by sunesimonsen·7 ปีที่แล้ว·0 comments
Beating Levenshtein with Ukkonen's algorithmgithub.com2 points·by sunesimonsen·9 ปีที่แล้ว·0 comments
sunesimonsen·2 ปีที่แล้ว·discussI think property based testing becomes a lot easier when you can just use normal asserts like this: https://github.com/unexpectedjs/unchecked
sunesimonsen·4 ปีที่แล้ว·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·6 ปีที่แล้ว·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·9 ปีที่แล้ว·discussAn alternative that is much easier to adopt, is to use unexpected-check http://unexpected.js.org/unexpected-check/