News for hackers. Stuff that matters.
Re:Ask HN: For those moving away from React what options are... by flavio81 on Friday September 15, 2017 @03:59PM (#15260279)
I'm waiting for WebAssembly to receive stronger toolings and lib until a radically new way to program the frontend appears. Ah, and I will relish to see the end of the Javascript dominance of the browser. I can say that again. I would love to see Javascript kicked away of the browser and replaced with something less asinine that doesn't require transpilation (Babel, etc), nor a slow kludgy hack to have a weak type safety net (TypeScript).

Meanwhile, i'm sick of the current state of the art for the web frontend. It is currently so convoluted and unprofessional, that programming a Windows desktop application using the ancient, verbose Win32 API looks like heaven, compared to it.

In any case, if you need an alternative, Svelte looks good.

Re:Ask HN: For those moving away from React what options are... by jbreckmckye on Sunday September 17, 2017 @07:19PM (#15272259)
Expect to keep waiting. WebAssembler does not interact with the DOM and probably never will do. It is being developed as an replacement to NaCl, not V8. Page scripting will still be done in JS for several years.
Re:Ask HN: For those moving away from React what options are... by flavio81 on Monday September 18, 2017 @04:03PM (#15279026)
>WebAssembler does not interact with the DOM and probably never will do.

Because it doesn't really need to. You can already bridge this gap by using javascript as a bridge or "glue" between WebAssembly and the DOM.

Example:

https://github.com/mbasso/asm-dom

> Page scripting will still be done in JS for several years.

There are people who thought that corporate web pages would be done in Flash (& Actionscript) for several years.

Re:Ask HN: For those moving away from React what options are... by mars4rp on Friday September 15, 2017 @04:21PM (#15260461)
the problem is not JS, problem is people are not using the latest version of browsers. if you have to still support IE because your clients still use it, I don't see how WebAssembly can help!