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
Sebastien Leclerc Lavallee
05/17/2023, 1:12 AM
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
Arjan van Wieringen
05/17/2023, 6:14 AM
Are we talking compose web or compose html here?
f
ftomassetti
05/17/2023, 10:36 AM
Thank you! I mean compose web
a
Arjan van Wieringen
05/17/2023, 11:04 AM
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
Lucas
05/18/2023, 12:42 PM
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)