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

Nice, the basics again, very good to see. But then:

I know what you’re thinking, I forgot the most important snippet of them all for writing HTML:

<div id="root"></div> <script src="bundle.js"></script>

Lol.

-> Ok, thanx, now I do feel like I'm missing an inside joke.



It's a typical pattern in, say react, to have just this scaffolding in the HTML and let some frond end framework to build the UI.




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

Search: