Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Olivier Blanvillain
    @OlivierBlanvillain
    @antonkulaga It's not dead, it's done ;)
    PR welcome for Scala.js 1.x
    Glen Marchesani
    @fizzy33
    lol
    I have a fork I use for my commercial applications
    2.12 and 2.13 and the various scala js versions
    and to be clear this project is far from done for me ;-)
    I have long standing commercial applications committed to it
    Ján Nosál
    @JanNosal
    @OlivierBlanvillain I can't find the info about this, I wonder, is server side rendering possible?
    Olivier Blanvillain
    @OlivierBlanvillain
    @JanNosal Not in the current state, alought looking at what other libraries are doing it might be theoritically possible...
    Anton Kulaga
    @antonkulaga
    @fizzy33 what is the link for the work, is it Scala 1.x compartible?
    Simon Morgan
    @simon-morgan
    I just saw OlivierBlanvillain/monadic-html#116 which is fantastic.
    @olafurpg thanks for getting this pr done - I've been eagerly watching for the move to Scala.js 1.x.
    @OlivierBlanvillain, firstly thanks for a this great Dom binding library - I use it every day! Secondly, is there any help I can provide to get this pr merged and released?
    Anton Kulaga
    @antonkulaga
    I am looking forward to this PR cause I am blocked in my move to 1.x because of it not being merged :(
    Anton Kulaga
    @antonkulaga
    I see it is merged. Cool! @OlivierBlanvillain will you publish it as well? I finally want to move to Scala 2.13
    Simon Morgan
    @simon-morgan
    @OlivierBlanvillain any chance you could publish? Many thanks!
    Raphael Bosshard
    @esarbe
    @OlivierBlanvillain @olafurpg Thanks a bunch! Very nice.
    Miuler
    @miuler:matrix.org
    [m]
    Hi
    Raphael Bosshard
    @esarbe
    I've been able to work around it for a while now by publishing locally. But I really would love to see monadic-html released for sjs1. Anything I can help with?
    Raphael Bosshard
    @esarbe
    Since I'm very unhappy with xml literals for building pages, I'm currently working on "monadic-scalatags"
    Raphael Bosshard
    @esarbe
    I've got a proof-of-concepts ready, although I'm quite uncertain how to deal with cancelables. For now I just throw all of them in a shared context.
    Simon Morgan
    @simon-morgan
    I've also been using a locally published version so that I can work on Scala.js 1.x - monadic-html is now the only library in my stack not on Scala.js 1.x but it just too good to abandon! I actually like using xml literals as it so easy to paste html snippets from Bootstrap directly into the code. But I can see that a scala-tags option would also be good. I am focussed on other things at present, but later this year I am keen to help this library get upgraded to Scala 3 as well - it is simply too useful to be left behind!!
    Raphael Bosshard
    @esarbe
    I've registered a sonatype account for another project. I could publish a 1.x version under another group identifier. :(
    Simon Morgan
    @simon-morgan
    @esarbe hopefully @OlivierBlanvillain will be in a position to publish shortly. @OlivierBlanvillain by all means reach out if you feel we can help out.
    Raphael Bosshard
    @esarbe
    Yes, please do so, @OlivierBlanvillain
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    so which dependency should I use to switch to Scalajs 1.x?
    Raphael Bosshard
    @esarbe
    Unfortunately there currently is no release for Scalajs 1.x
    Raphael Bosshard
    @esarbe
    You can do what I'm currently doing and use local published artifacts.
    Rohan Sircar
    @rohan-sircar
    or you can use jitpack
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    maybe you can publish it on bintray? It is way easier than maven
    I think now it is called jfrog
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    has anybody tested it?
    Ólafur Páll Geirsson
    @olafurpg
    @antonkulaga:matrix.org there's now an official release with support for scala.js v1 https://mvnrepository.com/artifact/in.nvilla/monadic-html_sjs1_2.13/0.4.1
    @esarbe FYI, comment abve :point_up:
    Simon Morgan
    @simon-morgan

    great to see official release with support for scala-js v1 - thanks so much to those who worked on this!!

    This is a great library - small, fast, extremely useful and maintainable!! Regarding maintainability, a quick look into the code indicates to me that an update to scala 3 and cats 3 would not be that hard which is just another positive trait of this great library!! Thanks again!!

    Ólafur Páll Geirsson
    @olafurpg
    @simon-morgan the CI is configured to release on git tag push so future releases should be easier to get out
    @simon-morgan XML literals are removed in Scala 3 so that will need a new solution
    Simon Morgan
    @simon-morgan
    @olafurpg thanks for you post. Good to hear that future releases will be easier. I didn't know xml literals would be dropped! Looks like @esarbe 's idea for using scala-tags is on the right track. @esarbe do you have a link to your proof of concept?
    Simon Morgan
    @simon-morgan
    @esarbe I found it at https://github.com/esarbe/monadic-html/tree/scalatags - I hope to review it later today!
    Glen Marchesani
    @fizzy33
    nice work, I agree monadic html is a great library
    I have a bunch of commercial apps running on it and we run into so few issues with the scala js / browser / monadic html parts of the app
    would be cool to have a widget library :-)
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    it is really sad it was abandoned
    Raphael Bosshard
    @esarbe
    I've started migration to 3.0, dropping the xml tags and using scala-tags instead.
    I'm still interested in any review, especially with regards to memory leaks. They are all over the place I fear.
    Raphael Bosshard
    @esarbe
    @olafurpg Do you have any specific plans in that direction?
    Ólafur Páll Geirsson
    @olafurpg
    @esarbe no plans in that direction
    Raphael Bosshard
    @esarbe
    In that case let's keep experimenting. Since we will have to drop xml literals for a possible Scala3 compatible release, we must find a neat replacement. One option would to be to go for xml string interpolation, another one is scalatags.
    For scalatags I have a "working" prototype somewhere.
    Raphael Bosshard
    @esarbe
    I've started porting some of the examples to "monadic-scalatags".