Hey everyone! 0.5.0-build226 build of web-core and...
# compose-web
o
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
🎉 13
jetpack compose 6
h
Thanks for the workaround. Now I have to update my API to nullable content 😄
o
if you want, you might prefer to wait for build227
h
I was convinced by the code-reduction argument
😉 1
🙂 1
👍 2
t
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.
h
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
build227 is available and it has a fix for default arguments.
h
Lets try it 🎉
🙏 1
t
Cool, thanks for info.
👍 1
h
Spoiler: it is working 🙂
🚀 2