4 ms·
Let me take your question apart a little... > Angular and React seem to be a mish-mash of proprietary syntax and technologies (AtScript, JSX, TypeScript etc.)
by cies 10y ago
Let me take your question apart a little...
> Angular and React seem to be a mish-mash of proprietary syntax and technologies (AtScript, JSX, TypeScript etc.) that paper over some of the cracks in JavaScript and CSS.
They are not "proprietary", but such they are partly an attempt to overcome "some of the cracks in JavaScript and CSS".
> Are these transitory technologies that will be replaced by something better in the near future?
I do not think so.
> Is there a better alternative available today?
As you mentioned JS (and to a lesser extend CSS) is the problem. A problem that Angular and React do not fix. People in this thread will mention Vue and Svelte as alternatives to Angular and React, but these also do not fix the underlying problem: JS.
TypeScript and Flow fix some of JS's problems. But a real next level approach that is available today is given by real compile-to-JS languages: Elm, PureScript and ReasonML.
It deserves to be mentioned these are all primarily "functional" languages. And not for no reason, FP is kind of the best option we have to avoid the OO/imperative-dramas we become tired of.
And Reason is particularly interesting as it can also compile to native (PureScript as well but not very mature in that regard), it is backed by Facebook (25% of messenger.com is ported to ReasonML already) and thus has well supported React bindings (allowing interop with the React ecosystem).
- a-saleh 10y agoI have been playing around with PureScript (more for the fun of learning interesting FP concepts than creating anything useful) and really liked the Purescript Book [0]. Is there something similiar for Reason as well? [0] https://leanpub.com/purescript/read https://leanpub.com/purescript/read
- cies 10y agoNot really. This you've probably seen (the home page): https://facebook.github.io/reason/ https://facebook.github.io/reason/ This is also quite nice (see the example app section at the bottom): https://github.com/vramana/awesome-reasonml https://github.com/vramana/awesome-reasonml Also these talks are interesting (but nothing close to the format of the book you mentioned): https://www.youtube.com/watch?v=_0T5OSSzxms https://www.youtube.com/watch?v=_0T5OSSzxms https://www.youtube.com/watch?v=8LCmLQ1-YqQ https://www.youtube.com/watch?v=8LCmLQ1-YqQ (really bad audio, sorry)