Ask HN: Is there a sane alternative to Angular and React?
51–60 of 85 posts
Re: Ask HN: Is there a sane alternative to Angular and React?
#52This whole JavaScript "revolution" seems surreal to me. I still can't believe they snuck JavaScript onto the backend. Edit: Angry is a better word.
'Angry' will be me once they start publishing metrics on how optimized JS (or what, webASM or something?) beats out native. Oh, I'm sure it's being done already. At this point I'm just back in my comfort zone. Let them battle it out for a few more years, I can probably make my peace with whatever's left over or stay in my niche.
Re: Ask HN: Is there a sane alternative to Angular and React?
#53Let 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 th…
Re: Ask HN: Is there a sane alternative to Angular and React?
#54Being both a TypeScript and Google Dart developer for a few years now (and a former Flash/Flex developer, and still missing lots of aspects of it), I can say: - On browsers: it is what it is. Neither React nor Angular will fix this for you. You're going to have to work with all existing browsers and their issues (which are quite a lot, especially when you want to go little 'deeper down'). - On styling CSS: Either use…
Re: Ask HN: Is there a sane alternative to Angular and React?
#55Let 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 th…
I 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
This you've probably seen (the home page):
https://facebook.github.io/reason/
This is also quite nice (see the example app section at the bottom):
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=8LCmLQ1-YqQ (really bad audio, sorry)
Re: Ask HN: Is there a sane alternative to Angular and React?
#56If you are willing to consider returning to the original RESTful architecture of the web, intercooler.js will dramatically simplify your application:
Re: Ask HN: Is there a sane alternative to Angular and React?
#57Vue.js is saner because it does not have that JSX nonsense and you can still write most of the code however you like, and later upgrade to babel,typescript etc. Particularly I like component structure https://vuejs.org/v2/guide/single-file-components.html which kinda does the same in more traditional approach.
Re: Ask HN: Is there a sane alternative to Angular and React?
#58Being both a TypeScript and Google Dart developer for a few years now (and a former Flash/Flex developer, and still missing lots of aspects of it), I can say: - On browsers: it is what it is. Neither React nor Angular will fix this for you. You're going to have to work with all existing browsers and their issues (which are quite a lot, especially when you want to go little 'deeper down'). - On styling CSS: Either use…
This is a fantastic response, thank you very much. It's a shame I can't up-vote more than once. I remember watching some Dart videos in the past and being really impressed by the language so I will revisit it as an option to pursue along with AngularDart.
Re: Ask HN: Is there a sane alternative to Angular and React?
#59No, none of this platform is sane. It's not designed, it's evolved. Embrace the madness or fail. The web is not desktop applications. The network is always there, the network is slow, the network is asynchronous. The network can fail. You cannot abstract over this with a clever library. Unless you don't care about pushing out 4mb of javascript before first render, you can't ignore it. The front-end is not a server ba…
Username checks out. Thanks, ZenPsycho!
Re: Ask HN: Is there a sane alternative to Angular and React?
#60Server-side rendering with partial views? You're never going to get something as simple as Flash, with a write-once works everywhere. But your user's aren't going to be annoyed at the crappy UX that Flash (or Flex) applications brought us. EDIT: I'm dead serious about this, with the concept of isomorphic apps, I'm not convinced building thick Javascript-based clients is necessarily the way to go for a lot of use case…