I really think the negativity in the comments here is overblown, and misdirected. The author has a totally reasonable set of requirements: React + TypeScript, writing posts in Markdown, small amounts of interactability, and static site generation. It may be an indictment of the JavaScript ecosystem and the current state of the web that nothing exists that can help the user accomplish this out of the box, but that doe…
The ideal tech stack for a personal developer blog in 2020
201–210 of 275 posts
Re: The ideal tech stack for a personal developer blog in 2020
#202The other day I started an HTML document from scratch, in VSCode. I kinda blacked out and came to 5 seconds later, and thanks to autocomplete and muscle memory, the whole skeleton of a document was there. HTML and Head and title and body and all that. It was so fast & fluid. I'm ashamed to say I'd kinda forgotten how easy it is to just write fucking HTML . It's even got me reconsidering things like Markdown—I mean, f…
Turns out html covers pretty much everything. Learned a few cool things along the way like:
- `@media (prefers-color-scheme: dark)` (Still working on nailing down color contrast there)
- doing footnotes via anchor tags that (a) automatically number themselves in text with counters and (b) automatically highlight the footnote using the `:target` selector.
not a single line of JS. The biggest perf issue by far is a font that's 64KB, which is probably including more than it needs to.
Deploying is 1 line of `scp`. Recently I got all fancy and added 30 lines of bash to support flags for only deploying assets or posts.
all of it is so fast. Coming from rails and react and all of that, it's refreshing.
Re: The ideal tech stack for a personal developer blog in 2020
#203I would amend this blog post's title to be the following: "The ideal tech stack for a personal developer blog in 2020 where the author is a React front end developer who loves TypeScript"
That page of just text is a 1Mb download... Is this what the web has become now? Do we really need 1Mb of boilerplate for 10Kb of text?
Re: The ideal tech stack for a personal developer blog in 2020
#204"I literally have zero memory of how we used to build forms in the pre-React times" Don't mean to pick on the author, but these sorts of comments scare the shit out of me. React is fine for what it was originally billed as (a library for building UI components), but the way people use it to take over the entire web stack is bananas. Definitely not needed for a static blog, LOL. P.S. Use LitElement anyway, not React.…
Re: The ideal tech stack for a personal developer blog in 2020
#205Another aspect is that your blog should make you want to blog. The tech stack therefore mirrors your interests. It feels great to use tools built by _yourself_ for _yourself_. Doubly so if the stack is janky (rust / org-mode for me). The feeling that you've made something makes you want to invest more into it. To make sure the tools were worth making in the first place.
Re: The ideal tech stack for a personal developer blog in 2020
#206As a non-React developer: forms, before React, were actually super simple. The author mentions they forgot how to do forms the normal way, but like, can you imagine how excited they'll be by the simplicity?
Well, think about time just for a second. Take your average 25 year old frontend developer, for example. Five years ago in 2015, we were sort of coming out of Jquery. That means all these people had to be doing professional modern web development at the age of 20. What’s the likelihood of that for most people? Take you average bootcamper, by definition they didn’t know modern web development when they were about 22.…
Re: The ideal tech stack for a personal developer blog in 2020
#207But hey, I guess it's a lot more fun to talk about how somebody's hobbying wrong and they should've used Jekyll or Hugo or PHP or a shell script or a Python script or a Makefile or just hand-write everything and use framesets like it's still 1997 and the concept of user experience hasn't been invented yet. Carry on.
Re: The ideal tech stack for a personal developer blog in 2020
#208Built on Laravel + Vue + Tailwind.
Re: The ideal tech stack for a personal developer blog in 2020
#209Re: The ideal tech stack for a personal developer blog in 2020
#210As a non-React developer: forms, before React, were actually super simple. The author mentions they forgot how to do forms the normal way, but like, can you imagine how excited they'll be by the simplicity?
Well, think about time just for a second. Take your average 25 year old frontend developer, for example. Five years ago in 2015, we were sort of coming out of Jquery. That means all these people had to be doing professional modern web development at the age of 20. What’s the likelihood of that for most people? Take you average bootcamper, by definition they didn’t know modern web development when they were about 22.…
> "Five years ago in 2015, we were sort of coming out of Jquery."
And HTML5 was still freshly standardized, Angular meant Angular.js, and your average web app was SSR MVC with view templates injected with controller variables, made interactive with jQuery.
Rails and MongoDB was the move, GraphQL would've been released the same year, and everyone would be convinced it was a fad and huge meme.
The React that would start to gain popularity around that time was a completely different ballgame. Redux wasn't hip yet, people were still using Flux from FB or Ken Wheeler's Flux plugin:
https://github.com/kenwheeler/mcfly
What a wild ride it's been.