News for hackers. Stuff that matters.
Re:Show HN: I made React with a faster Virtual DOM by bsimpson on Tuesday May 31, 2022 @09:34PM (#31577041)
Congrats!

Considering the pretty docs, I'm guessing you're trying to get people to use this. It would be useful to have the value proposition front-and-center (e.g. in your README).

If someone is in the React mainstream, they use React. If they like the devex of React but want something simpler/more streamlined, they use Preact. I'd appreciate a "This is why you might choose this library instead of Preact. This is why this is a new library instead of a patch to Preact. This is an honest assessment of when React/Preact is a better choice than Million." section.

There are often tradeoffs in library development. Being honest about the ones you chose helps other developers trust you.

Re:Show HN: I made React with a faster Virtual DOM by presentation on Tuesday May 31, 2022 @09:58PM (#31577201)
Biggest thing for me is that this library won't get abandoned like the ones that the intro section for this library refers to. Unless the value prop is really, really good I would stick to the bigger options for that reason alone.
Re:Show HN: I made React with a faster Virtual DOM by aidenyb on Wednesday June 01, 2022 @12:09AM (#31577966)
I made some adjustments to the README [1], thanks again for the helpful feedback.

[1] https://github.com/aidenybai/million#readme

Re:Show HN: I made React with a faster Virtual DOM by sk0g on Tuesday May 31, 2022 @09:52PM (#31577165)
Even better, for something similar to React, but much simpler and more streamlined, I turned to Svelte. As a backend dev, it was the first frontend framework that I actually stuck with.

In retrospect, I think what really confused me was that React components return HTML, which is a weird semantic I can't intuit, after a few attempts. Svelte lets you declare everything separately, while being more succinct and readable (IMO at least).

Re:Show HN: I made React with a faster Virtual DOM by Vinnl on Wednesday June 01, 2022 @05:45AM (#31579797)
Probably not too relevant/helpful anymore, but the problem might be that React components don't return HTML: they're functions that return a collection of JS objects that describe what the DOM ("HTML") should look like, and React compares that to what the DOM actually looks like and applies the relevant changes. These functions get called every time something changes. Having that mental model is vital for React "clicking".
Re:Show HN: I made React with a faster Virtual DOM by wussboy on Wednesday June 01, 2022 @12:13PM (#31584081)
Agreed. Svelte was the first front end framework that ever made sense to me. I was able to do things in it that I never dreamed of doing in React/Vue.
Re:Show HN: I made React with a faster Virtual DOM by FractalHQ on Thursday June 02, 2022 @10:58AM (#31595698)
The combination of Svelte’s DX and performance is truly unmatched and unlocked a lot of doors for me as a developer too.
Re:Show HN: I made React with a faster Virtual DOM by codedoctor on Sunday June 05, 2022 @05:20AM (#31629282)
It looks very good. I hope there will be support in nextjs and a nice material library for this
Re:Show HN: I made React with a faster Virtual DOM by aidenyb on Tuesday May 31, 2022 @09:56PM (#31577196)
I appreciate the feedback. Will be adding to the readme!