Show newer

@ckie static site generator using React rendered to plain html, with the possibility to fetch async data inside components. I prototyped various approaches and blogged part of it cthu.lu/projects/react-hooks-s
It was fun to work on and think about but just not really possible to do *properly*, but now with React 18 there's a much better approach that simplifies the implementation hugely as well

commit: git.pixie.town/f0x/shayu/commi
simple testing component: git.pixie.town/f0x/cthu.lu/src

finally solved a programming issue i've been working and thinking about on and off for more than 2 years now, and nobody cares :p

@juliana@eldritch.cafe NixOS' Hydra is basically that?

seriously wondering what the fuck i was thinking when i wrote this code

Show thread

i very clearly said to myself that before I went on to implementing this again I had to read the React Server Components RFC... and of course I forgot to so I was scared that it already solved the issue i've been working on for a long time now. But luckily it does not so, yay i guess?

Show thread

nice, joining the Babel slack and typing out my problem was enough of a rubber ducky to figure out my issue without having to send the message

Show thread

send help im considering writing a babel plugin for super cursed code hacking

hmm the GitLens Search & Compare doesn't fix this completely but it is quite a nice way to (selectively) pull in changes

Show thread

but I feel that's definitely an abstraction the editor could do for me, instead of having to litter my filesystem with different folders and changes

Show thread

I wish vscode (or any editor) had better support for comparing two git branches while browsing both

like currently I'll copy the folder so both can be checked out to a different branch (or upstream)

you would not believe your eyes if ten million types of guys
Show older
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.