Critique: “Remix looks like PHP”
Critique:
“Remix looks like PHP”.
Rebuttal:
1. PHP is popular because it’s a simple way to compose logic with markup. Same with Remix. 👍
2. PHP doesn’t run in the browser. So, I have to write JS and PHP for client-side interactivity. With @remix_run, I use 1 language: JS.
That 2nd point is critical.
In PHP I’d have to repeat my validation and templates code in 2 languages (JS & PHP) 👎
Writing server and client code in the browser’s language (JS) means I can use the same templates and validation code on the client and the server. 😀