Better HN
topnewbestaskshowjobs
Log inSign up

jonfleck

10 karma · joined Jun 21, 2019 (7y ago) · 3 submissions

Submissions

comment 4y ago · link · parent

I wrote a “function” for this exact reason. It’ll display the classes in a much easier to read way. It also can type check to ensure that all classes are valid. I say function in quotes because it’s actually a babel macro that’s get compiled down so there’s no runtime cost! https://github.com/fleck/class-types.macro#better-prettier-f...

comment 4y ago · link · parent

Those who aren't adopting are missing out! I've been using Render for a few months now on a postgresql/next.js app and it's really good! Hopefully the new signups continue to accelerate

comment 7y ago · link · parent

Easy fix ['1', '7', '11'].map(Number)