Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aidenyb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
aidenyb
4y ago
I appreciate the feedback. Will be adding to the readme!
32.
▲
by
aidenyb
4y ago
Definitely going to check Riot out. I've tried it while it was in the initial release, seems really cool they're trending towards compiled!
33.
▲
Show HN: I made React with a faster Virtual DOM
109 points
by
aidenyb
4y ago
|
88 comments
34.
▲
Show HN: I made a JavaScript library to turn MPA to SPA
4 points
by
aidenyb
4y ago
|
0 comments
35.
▲
by
aidenyb
5y ago
thank u ishan!!
36.
▲
by
aidenyb
5y ago
> the building of the underlying structure as a separate list of nodes from what is displayed This is how the Virtual Node tree is constructed. One case could be a React.createElement call that creates a virtual div node. You can visuali
37.
▲
by
aidenyb
5y ago
Yep, this is very possible. If you want to get a feel for it, check out the quick start page: https://millionjs.org/docs/start-here
38.
▲
by
aidenyb
5y ago
Thanks! Appreciate the feedback
39.
▲
by
aidenyb
5y ago
Here's my attempt at a personal site: https://aidenybai.com Nothing too flashy, just simple and straight to the point
40.
▲
by
aidenyb
5y ago
A Virtual DOM is an algorithm (often packaged as or into a JavaScript library) that allows you to "declare" what your user interface looks like. This is in contrast to the DOM, or the native rendering method for JavaScript, which
41.
▲
Show HN: I made Million – It's a Virtual DOM made for the future
22 points
by
aidenyb
5y ago
|
10 comments
42.
▲
by
aidenyb
5y ago
imagine beepbox but in code
43.
▲
A Declaration of Interdependence of Cyberspace
(interdependence.online)
2 points
by
aidenyb
5y ago
|
0 comments
44.
▲
by
aidenyb
5y ago
Sure! I don't recommend any of the React-based virtual DOM articles yet, often they're pretty complicated and will confuse you. I wrote an article here with an even simpler implementation of the virtual DOM: https://dev
45.
▲
by
aidenyb
5y ago
It's significantly different. The article attempts to build a reactivity model and directives handler (two integral parts of Vue), while this is a Virtual DOM, which is a different approach to declaratively representing UI. I think you
46.
▲
by
aidenyb
5y ago
it's quite slow compared to other virtual dom implementations - this is probably something you wouldn't use in production, but rather as a learning tool to understand virtual DOM
47.
▲
Show HN: Tiny-vdom – Smallest possible virtual DOM implementation
(github.com)
5 points
by
aidenyb
5y ago
|
6 comments
48.
▲
by
aidenyb
5y ago
Ohh okay, that's a good point! Thank you
49.
▲
by
aidenyb
5y ago
Really interesting - Skruv looks really cool! I think the use cases are slightly different, where million tries to just be a virtual dom that other libraries incorporate, skruv seems to be a JS library (correct me if I'm wrong).
50.
▲
by
aidenyb
5y ago
Oh i see LOL, thank you!
51.
▲
by
aidenyb
5y ago
We're working on it . Currently it's extremely fast when compared to other vdom libraries but there's further edge cases we can cover to make it even faster
52.
▲
by
aidenyb
5y ago
Yes, under the benchmark/ directory
53.
▲
by
aidenyb
5y ago
thank you! we plan to add some more pinpoint updates for common updates to improve performance further (while staying under 1kb ;])
54.
▲
Show HN: 1kb virtual DOM - it's fast!
(github.com)
14 points
by
aidenyb
5y ago
|
12 comments
55.
▲
by
aidenyb
5y ago
i imagine the point of this isn't focused on ease of reading...
56.
▲
by
aidenyb
6y ago
This concept looks really interesting. I like the analogy you gave for both types of libs
57.
▲
by
aidenyb
6y ago
Awesome! I hope you find Lucia useful. Your project looks cool, I just left a star :D
58.
▲
by
aidenyb
6y ago
Thanks! (Love the username btw)
59.
▲
by
aidenyb
6y ago
This looks really cool! I love how they use es6 template syntax for text content
60.
▲
by
aidenyb
6y ago
Oh, not at all. What I meant was that not only am I able to work on something I enjoy, I'm also able to get support and use it for school as well - sorry if I worded that weirdly
More ›