Live data from Hacker News

Viewing profile — taoxin

taoxin

HN member
Joined
Sat, Jul 29, 2023, 1:39 AM UTC
HN karma
4
Public activity
16 items

About taoxin

No profile information was provided.

Recent public activity

  1. 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 …

  2. comment
    Comment #38727567

    Yes. This is how VanJS works. Code with VanJS is often more concise compared to equivalent code with React.

  3. 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…

  4. comment
    Comment #38721261

    Is this is what you are looking for? https://vanjs.org/vanui#await

  5. 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 …

  6. 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…

  7. 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).

  8. story
  9. comment
    Comment #38193213

    My current best score is 125. Feel free to share your score here :-)

  10. story
  11. 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.

  12. 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…

  13. 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…

  14. story
  15. comment
    Comment #36945672

    So, what's the problem here?

  16. story