Thread
#compose-web
    o

    Oleksandr Karpovich [JB]

    1 year ago
    Hey everyone! 0.5.0-build226 build of web-core and web-widgets is available. It brings some CSS API updates which we expect should simplify the code. Apart from that, this build might cause errors in runtime if you have composable functions with default values for lambda parameters (reported here: https://github.com/JetBrains/compose-jb/issues/811 , also check out a possible workaround in the link below). Despite that, we decided to not postpone the new build announcement. We're preparing the fix. Check out more details here: https://github.com/JetBrains/compose-jb/releases/tag/0.5.0-build226-web
    hfhbd

    hfhbd

    1 year ago
    Thanks for the workaround. Now I have to update my API to nullable content 😄
    o

    Oleksandr Karpovich [JB]

    1 year ago
    if you want, you might prefer to wait for build227
    hfhbd

    hfhbd

    1 year ago
    I was convinced by the code-reduction argument
    t

    Tomáš Hubálek

    1 year ago
    Hi, I tried to upgrade but when I change build225 to build226 I'm getting this error:
    I searched my code for composable functions with arguments
    something: ()->Unit={}
    and I don't have any such a arguments of composable functions.
    hfhbd

    hfhbd

    1 year ago
    As I mentioned in https://github.com/JetBrains/compose-jb/issues/811, this error does not only affect lambdas, but ALL default arguments, which will be
    null
    at runtime.
    o

    Oleksandr Karpovich [JB]

    1 year ago
    build227 is available and it has a fix for default arguments.
    hfhbd

    hfhbd

    1 year ago
    Lets try it 🎉
    t

    Tomáš Hubálek

    1 year ago
    Cool, thanks for info.
    hfhbd

    hfhbd

    1 year ago
    Spoiler: it is working 🙂