Newbie here, with some basic questions: 1. How exp...
# compose-web
f
Newbie here, with some basic questions: 1. How experimental really is the web target of compose? Should I expect it to work for simple application in production or should I really avoid it? 2. Can I reuse typescript components? If so, it is doable but extremely hard or ok?
s
1- I do have 1 website and 1 webapp in prod. Both are fairly small but it’s working pretty good! 2- I would say it’s possible. You can import a .js file in your compose web project and (that’s the part I’m missing) you create a “custom” html tag with your component. But I haven’t done it so I can’t have more information for you
a
Are we talking compose web or compose html here?
f
Thank you! I mean compose web
a
Then: 1. Experimental, wouldn’t use it in production 2. What do you mean with components? If it is ui component I’d hard. If it is regular TS library it is fine.
l
It works pretty well, only textfield seems kinda buggy sometimes (i had inputs being tripled from time to time, with no code changes, and the missing cursor)