Live data from Hacker News

Viewing profile — flying-pig

flying-pig

HN member
Joined
Wed, Jul 19, 2023, 2:00 PM UTC
HN karma
15
Public activity
14 items

About flying-pig

No profile information was provided.

Recent public activity

  1. comment
    Comment #38740605

    Tbh I can't follow your logic here. You mentioned that in VanJS there are things that need to be careful with. But the same is true for other frameworks, even for plain Vanilla Jav…

  2. comment
    Comment #38728240

    With bundler like esbuild, all JS code, including 3rd party libraries can be bundled into a single file. You don't need an extra round trip for a library.

  3. comment
    Comment #38714210

    Well said! You got the point.

  4. comment
    Comment #38714171

    > when every framework ends up importing jquery anyways Evidence?

  5. comment
    Comment #38714151

    No offense. What exactly is the cost of using "var" instead of "const"? You seem to pretend it to be a big deal.

  6. comment
    Comment #38713904

    I don't get you. Could you elaborate?

  7. comment
    Comment #38713873

    JSX is redundant, at best. VanJS demonstrated ordinary JavaScript syntax is as good as JSX, if not better. How can something feel sugar-ish if it's actually more verbose than ordin…

  8. comment
    Comment #38711419

    The fact that you have to manually maintain the binding between states and UI elements and propagate state changes to UI elements is exactly the thing offered by VanJS, or other po…

  9. comment
    Comment #38709274

    Agreed. JSX is a bug, not a feature.

  10. comment
    Comment #38709232

    FWIW, VanJS's performance is very impressive. At least much better than React: https://vanjs.org/#performance

  11. story
  12. story
  13. comment
    Comment #36945729

    Very neat API indeed! Thanks for bringing it up.

  14. comment
    Comment #36786586

    https://vanjs.org is another example in that direction. It illustrates that it's even possible to have a full-fledged solution of composing complex reactive DOM tree with just plai…