Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ping-monkey
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
ping-monkey
3y ago
There is some plug-in that adds JSX support though.
2.
▲
by
ping-monkey
3y ago
If you like JSX, good for you. But tbh it's neither necessary nor the best solution...
3.
▲
by
ping-monkey
3y ago
FWIW, for HTML template: 1. How easy is it to support loops? 2. How easy is it to compose (defining small components that can be used in larger components)? 3. How easy is it to make the UI reactive to client-side state changes? > becaus
4.
▲
by
ping-monkey
3y ago
tbh, you don't need JSX to know where things begin and end (if this is something really important for you): li(a({href: " https://vanjs.org/ "}, "VanJS")/*a*/)/*li*/
5.
▲
by
ping-monkey
3y ago
VanJS is a lot faster than React: https://vanjs.org/#performance . UI re-rendering in VanJS is kept at the local level as much as possible, which can be achieved without even the need of vdom
6.
▲
by
ping-monkey
3y ago
Try to replicate a sample app made by VanJS with Vanilla JS and check the difference
7.
▲
by
ping-monkey
3y ago
https://vanjs.org is another attempt for the goal