Why are HTML, JavaScript, and CSS still different things with different syntax?
-
-
@TimSweeneyEpic An example of using JS to write HTML is React: https://facebook.github.io/react/docs/jsx-in-depth.html … Note it can be used without JSX.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic There’s a big discussion about CSS in JS, started (I believe) by@vjeux: http://blog.vjeux.com/2014/javascript/react-css-in-js-nationjs.html …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic Give me 24 hours?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic It wouldn’t be one clean example (it’s JS), but various approaches to generate HTML and CSS from JavaScript.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic If that sounds useful, I can write a short blog post with links etc.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic There are a ton of different approaches (this just for React): https://github.com/FormidableLabs/radium/blob/master/docs/comparison/README.md … No clear favorite AFAIK.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic Radium seems as good as any: https://github.com/FormidableLabs/radium …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic Hope that helps. It’s a very rapidly evolving field.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.