Has anyone else been having trouble with string re...
# multiplatform
b
Has anyone else been having trouble with string resources loading in webJs modules? I'm not using wasmJs, it just has too many hiccups, so I'm building webJs, but he string resources only load once in a while on some builds.
🚫 2
a
@Oleksandr Karpovich [JB] @Konstantin Tskhovrebov ^^
o
Hey! do you mean string resource when using Compose Resource library? If it's about Compose Resources, could you please report the issue with a reproducer here?
b
I'm not sure I can see a whole project. let me see if i can get it to reproduce in a showcase project.
I have been trying to reproduce it in another simpler project with no luck. the main differences are: • i have string resources in multiple modules. e.g. the generic components sometimes have generic resources that go with them. Or the features module has the resources related to that feature • I have multiple resource files. e.g. i might have one for each feature
strings_sign_in.xml
it seems to work in android and iOS of course, but i'm starting to wonder if the way resources are picked up for webJs causes problems. IN the test module they are all in strings.xml in the main composeApp module.
o
Do those strings load eventually? Or they never load? On web, all the resources are loaded asynchronously. So some delay might happen depending on the internet connection.
b
They never load that i can tell.