These are chat archives for japgolly/scalacss

6th
Jun 2015
Henry Story
@bblfish
Jun 06 2015 17:42
wondering about the limitations to functions in scalass. One has to specify all the types of objects that an be input. Why? Mhh.
I suppose another way of thinking of this is how should I factor out the following code into css https://github.com/read-write-web/rww-scala-js/blob/master/src/main/scala/rww/ui/foaf/FOAFInfo.scala#L85
Otto Chrons
@ochrons
Jun 06 2015 17:45
because the CSS is generated before the function is called
Henry Story
@bblfish
Jun 06 2015 17:48
ah, so it's not the way the React people proposed in their video, where they proposed to put the CSS directly into the html.
Otto Chrons
@ochrons
Jun 06 2015 17:48
nope, the stylesheet is pregenerated and injected into HTML header
Henry Story
@bblfish
Jun 06 2015 17:50
I wonder what @japgolly thinks of moving to the full react way? http://blog.vjeux.com/2014/javascript/react-css-in-js-nationjs.html
Otto Chrons
@ochrons
Jun 06 2015 17:51
it was discussed quite a lot in the early days of ScalaCSS
Henry Story
@bblfish
Jun 06 2015 17:51
ah? Is there a summary of the findings?
Otto Chrons
@ochrons
Jun 06 2015 17:52
dunno, maybe in one of the requirment issues in github?
Chandra Sekhar Kode
@chandu0101
Jun 06 2015 22:06
@bblfish japgolly/scalajs-react#77