Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cacozen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
cacozen
4y ago
Internal refactors that included moving to ES modules and ended up improving overall performance and size.
32.
▲
by
cacozen
4y ago
This argument bears a lot of resemblance with victim-blaming phrases, like: “She shouldn’t have been raped, but did you see the dress she was wearing on a dark street?”
33.
▲
by
cacozen
4y ago
It’s just so I can later reuse that type without having to pass in the generic. Like I do on lines 41 and 42
34.
▲
by
cacozen
4y ago
Lol
35.
▲
A text adventure game on TypeScript's type system
(github.com)
293 points
by
cacozen
4y ago
|
31 comments
36.
▲
Show HN: Free, async platform to discuss and learn as a dev
(flipgrid.com)
6 points
by
cacozen
5y ago
|
0 comments
37.
▲
by
cacozen
5y ago
Why stop there? Let’s force people to sit on different places or use different doors based on arbitrary shit we come up with. Oh look, you just invented apartheid again!
38.
▲
by
cacozen
5y ago
I'm not a scientist, so I might be missing some nuance, but it strikes me that the experiment could indicate a million other things that are not "Ritalin causes the brain to focus on benefits of work rather than its costs". F
39.
▲
by
cacozen
5y ago
Author here. Yes, I made a series of videos about it, starting here: https://youtu.be/N0OaRdJuVlc
40.
▲
by
cacozen
5y ago
Hahaha, reused from a video on my YouTube channel, was created in 5 minutes on Apple Keynote
41.
▲
by
cacozen
5y ago
I think using a state machine can make the resulting code more elegant in some cases by coupling state changes and effects. But that’s not why they are useful. In my experience, they have been useful because they help map (even mentally) al
42.
▲
by
cacozen
5y ago
It’s not directly related - this is a thin layer on top of useReducer and useEffect, so it’s more directly tied to React. But take a look at XState
43.
▲
by
cacozen
5y ago
Of course, XState is a huge inspiration and the golden standard of State Machines for JS. I visualizer is not on the short-term plan, but there’s a “verbose” mode that helps with debugging.
44.
▲
by
cacozen
5y ago
Oh, I need to try that too!
45.
▲
A TypeScript-first state machine for React
(github.com)
1 points
by
cacozen
5y ago
|
0 comments
46.
▲
UseStateMachine – a ½ kb, Typescript-first hook for React
(github.com)
2 points
by
cacozen
5y ago
|
0 comments
47.
▲
React: Transforming UseReducer into a State Machine
(youtube.com)
1 points
by
cacozen
6y ago
|
0 comments
48.
▲
Getting your act together with State Machines
(youtube.com)
1 points
by
cacozen
6y ago
|
0 comments
49.
▲
Hooks and Stale Closures in React
(youtube.com)
1 points
by
cacozen
6y ago
|
0 comments
50.
▲
Git subtree as an alternative to ejecting in Create React App
(youtube.com)
1 points
by
cacozen
6y ago
|
0 comments
51.
▲
Unbundled JavaScript Development
(youtube.com)
1 points
by
cacozen
6y ago
|
0 comments
52.
▲
A quick glance at React Server Components
(youtube.com)
1 points
by
cacozen
6y ago
|
0 comments
53.
▲
Redux is losing popularity – now what?
(youtube.com)
2 points
by
cacozen
6y ago
|
0 comments
54.
▲
You should use React.memo more!
(youtube.com)
1 points
by
cacozen
6y ago
|
1 comments
55.
▲
by
cacozen
6y ago
Far from "like I'm 5", but here is a technical explanation: https://debugger.medium.com/why-is-apples-m1-chip-so-fast-32...
56.
▲
by
cacozen
6y ago
Give it free printed book samples to hundreds of influential people and media. Ask for honest feedback in return (preferably on Amazon)
57.
▲
by
cacozen
7y ago
I use a todo.diff - so the text editor color codes my lines started with `+` and `-`
58.
▲
by
cacozen
7y ago
Well, Smashing Magazine runs on NetlifyCMS - it can be actually pretty powerful when extended with "integrations".
59.
▲
A Flock of Functions: Finally Learn Lambda Calculus and Combinators (in JS)
(youtube.com)
3 points
by
cacozen
9y ago
|
0 comments
60.
▲
Show HN: Learn React Server Side Rendering in Under 30 Min
(youtube.com)
12 points
by
cacozen
9y ago
|
0 comments
More ›