2 ms·
> you dont want to mix the "structure" of your UI with the behaviour of it. And you don't have to with React. But you can do this kind of mess with any templat
by abritinthebay 11y ago
> you dont want to mix the "structure" of your UI with the behaviour of it.
And you don't have to with React. But you can do this kind of mess with any templating langauge - it's not a React issue, it's a bad programming issue.
> Having your app written in React poses a real problem when you want to switch your logic to a different programming language.
It really shouldn't. It's a View layer and the JSX part will be (practically) HTML still so it'll be really easy to port. The rest of the view logic would have to be ported no-matter what you use to decorate it.
So this isn't really an objection.