Viewing profile — taoxin
taoxin
HN member- Joined
- Sat, Jul 29, 2023, 1:39 AM UTC
- HN karma
- 4
- Public activity
- 16 items
- HN profile
- View on Hacker News ↗
About taoxin
No profile information was provided.
Recent public activity
-
comment
Comment #38729331
Ah.. you need a binding function to wrap the state-derived content into a reactive UI element, see: https://vanjs.org/tutorial#state-derived-child . I made the change in your code …
-
comment
Comment #38727567
Yes. This is how VanJS works. Code with VanJS is often more concise compared to equivalent code with React.
-
comment
Comment #38725521
You can do with VanJS in this way as well. `set...` functions in React map to `....val = ...` in VanJS (which I think is more intuitive). But the `Await` component is a good abstra…
-
comment
Comment #38721261
Is this is what you are looking for? https://vanjs.org/vanui#await
-
comment
Comment #38715500
道 (dao) means "the way of doing thing" in modern-day Chinese as well. For instance, 王道 means the "the way of governing". 路 is more common for the literal meaning of "road", though …
-
comment
Comment #38714920
Here is the break down of my understanding about the philosophy described in 道德经: 1. There might be some universal rules about the world. 2. There are limitations in human's unders…
-
comment
Comment #38714556
States are mutable whose value can be get/set via the ".val" property. However, the value of the states should be (ideally) an immutable object (or primitives).
- story
-
comment
Comment #38193213
My current best score is 125. Feel free to share your score here :-)
- story
-
comment
Comment #37289437
If you care enough to do your own research and math, you will definitely know that / for VanJS is in a normal range.
-
comment
Comment #37288913
Did you realize this is true for many GitHub projects? Also "used by" for VanJS is undercounted as it only counts the projects with NPM integration, which was only added recently i…
-
comment
Comment #37211950
A web-based Unix terminal with notable improvements, built with VanJS - https://vanjs.org/ . Under 300 lines in total. We've seen numerous efforts to bring in more modernized termi…
- story
-
comment
Comment #36945672
So, what's the problem here?
- story