These are chat archives for chandu0101/scalajs-react-components

19th
Apr 2016
Otto Chrons
@ochrons
Apr 19 2016 19:32
btw, I find the MaterialUI stuff quite tedious to work with, going to try Elemental UI components (as it has proper Form support)
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 19:41
Yeah, the api isnt the best, though its slowly getting better
Proper forms as in html forms?
I thought it was a plus to be liberated from those
But yeah, do share any experiences with both
Otto Chrons
@ochrons
Apr 19 2016 19:44
mainly the layout of the forms, not the HTML form mechanism :)
MUI is mainly a bunch of separate components, with little to offer in the UI structure side
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 19:49
Yes, you're right about that. I have missed some ready to use form layout components, so far i've done that myself
Otto Chrons
@ochrons
Apr 19 2016 19:50
besides the MUI visuals are a bit weird for the web :)
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 19:54
It screams "application" rather than "web page". So far that has been what i have wanted
Ymmv, of course
Otto Chrons
@ochrons
Apr 19 2016 19:56
for an Admin UI, not so optimal :stuck_out_tongue_winking_eye:
Roberto Leibman
@rleibman
Apr 19 2016 19:58
I hope elemental works for you.
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 19:59
What project is this youve started on btw? Anything public?
Yeah it seems elemental might be a better match
Any idea if elemental will need updates for react 15, @rleibman
Otto Chrons
@ochrons
Apr 19 2016 20:01
it's an internal Admin UI for a parallel computation engine running in cloud
Roberto Leibman
@rleibman
Apr 19 2016 20:02
Good question, I haven't touched it in forever.
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 20:02
A fiddleish engine at that? :D
Roberto Leibman
@rleibman
Apr 19 2016 20:02
I'm using MaterialUI
I created the ElementalUI for scala just to get my hands wet in i.
Otto Chrons
@ochrons
Apr 19 2016 20:02
naah, this is for 3D computations ;)
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 20:03
Yeah me too
Did you script it? Manually updating these things is quite a daunting task
Roberto Leibman
@rleibman
Apr 19 2016 20:03
It was manual.
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 20:04
Yeah, thats how i also did this for a while
Otto Chrons
@ochrons
Apr 19 2016 20:04
Elemental seems to be somewhat smaller than MUI, though
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 20:05
Ive started to use nashorn to parse javascript files to pick out proptypes and then parse them
Hopefully i can extend that code to cover more libs without muxh effort
Roberto Leibman
@rleibman
Apr 19 2016 20:05
cool, if I get back into it I might do that.
Otto Chrons
@ochrons
Apr 19 2016 20:05
nashorn has JS to AST parser?
Roberto Leibman
@rleibman
Apr 19 2016 20:06
I'm right now working on a ReconnectingWebsocket though, and on actual business code, so no time.
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 20:06
It has!
Otto Chrons
@ochrons
Apr 19 2016 20:10
nice, might be useful
been thinking about that JS module bundling problem, probably we'll need to come up with our own bundler, as the JS alternatives are so bloody slow
like MaterialUI + React = 7 seconds with webpack :scream_cat:
Øyvind Raddum Berg
@oyvindberg
Apr 19 2016 20:16
well slow is one issue, the another is that we need to depend on two build systems
Roberto Leibman
@rleibman
Apr 19 2016 20:44
That would be awesome, I hate the way it is right now, and it's the main reason why I'm on a very old version of the stuff.
Roberto Leibman
@rleibman
Apr 19 2016 23:23
Hey... I really need openDirection on MuiIconMenu.... should I just add it and create a PR on chandu0101's repo, or on @oyvindberg or let you change it.
?