Y
Hacker News
new
|
ask
|
show
|
jobs
by
TekMol
530 days ago
How is React easier to learn and debug?
1 comments
mzronek
530 days ago
With Full-Stack React you will use JSX to directly render HTML. Logic is done with Javascript, so you don't need to learn an additional language. There is also no mapping to Javascript and you can use the standard toolchain (for debugging).
link
TekMol
530 days ago
How does JSX "directly" render to HTML? Have you compared the codebase of the React to EJS? EJS is much more direct. And the logic is also Javascript.
What do you mean by "no mapping to Javascript"? It is not as if React is part of the Browser API.
link
mzronek
530 days ago
How do you get the server-side data to client-side Javascript? For example an array of strings or an object.
link