Show HN: A 1KB CSS-in-JS library with all the bells and whistlesgithub.com6 points·by sunesimonsen·6 yıl önce·6 comments
Men, we need to talk about women in engineeringmedium.com3 points·by sunesimonsen·7 yıl önce·0 comments
sunesimonsen·2 yıl önce·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 yıl önce·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 yıl önce·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 yıl önce·discussAn alternative that is much easier to adopt, is to use unexpected-check http://unexpected.js.org/unexpected-check/