Re:Today’s Javascript, from an outsider’s perspective
by korla on Tuesday May 26, 2020 @01:16AM
(#23307654)
React has no invented language. You’re thinking about jsx which isn’t needed. It is recommended, however.
[ Parent
| on HN ]
Re:Today’s Javascript, from an outsider’s perspective
by cookiengineer on Tuesday May 26, 2020 @01:24AM
(#23307698)
> It is used everywhere, however.
Fixed that for you.
React without jsx components is just as useless as Vue without .vue files. If you cannot use the ecosystem of a framework in practice, your framework isn’t a framework anymore.
Re:Today’s Javascript, from an outsider’s perspective
by dragonwriter on Tuesday May 26, 2020 @02:39AM
(#23308104)
> React without jsx components is just as useless as Vue without .vue files.
It's not useless at all. JSX in React is just an alternate syntax for React.createElement calls.
Re:Today’s Javascript, from an outsider’s perspective
by aaronjxz on Thursday May 28, 2020 @07:34AM
(#23336093)
Wrong, you can still use VueJS without the vue extension...
https://dev.to/arswaw/create-a-lightweight-componentized-spa...