Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Let’s not pretend that useState() is plain TypeScript either. It’s a DSL in disguise.

JSX is amazing for stateless rendering of templates. Not so much for state management. That should really have been given a dedicated DSL. Here I think Marko did the right thing, why they then made even for-loops a dsl is more questionable.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: