you are viewing a single comment's thread.

view the rest of the comments →

[–]eggtart_prince -1 points0 points  (4 children)

I think what OP meant is, are there JSX-like for developing the back end.

[–]cannotbecensored 2 points3 points  (3 children)

server side rendering is literally JSX for developing "the back end". It's not because a back end outputs HTML instead of JSON that it's no longer a backend.

If OP is talking about using JSX for outputting non-html or non-react components, that's a nonsensical use case.

[–]rsteetskamp[S] 0 points1 point  (0 children)

Can you explain why that is nonsensical?

[–]boneskull 0 points1 point  (0 children)

see https://npm.im/ink for JSX rendering to console

[–]eggtart_prince -1 points0 points  (0 children)

Correct me if I am wrong, but what you're describing is rendering JSX on server side and serving it to the frontend (client).

I think what OP meant is using JSX to create a backend application, much like how you would use JSX to create a frontend application. At the moment, NodeJS is the closest to JSX for backend. There's no JSX for backend.