Engineering Poll: Bundles and Loaders #4998
dmceachernmsft
started this conversation in
Polls
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Unlocking Cross platform
Currently in the UI library we primarily support our Composites for the different Azure Communication Services scenarios in React. We are looking for feedback on other ways that our customers are wanting to use us. We currently have 3 ways you can use us today for the composites depending on your scenario
Natively in React
If you have used us before you are probably familiar with this option, using our react components and composites in your react application is as easy as using any components you have written yourself. Check out the docs if you are unfamiliar with us and are interested in getting started!
Typescript Loader Functions
This is a new way to use us, we are including in private preview today Typescript functions that you can use in your Angular application (or other framework) to load us into your application. These loader functions will load in the different composites in by mounting a react node to your application. We are currently including in private preview on our API the following 4 functions:
The following snippet is how you would lazy load into your Angular component the
CallComposite
configured for a group call.If you're wanting to try us out in this way please do!
Github Releases CDN/Download
We also have as part of our release pipeline a set of JavaScript bundles that mirror the functionality of the Typescript loaders. These files can either be consumed by hitting the download link like a CDN but this is not recommended in production.
This method of consumption does not allow for lazy loading and will be pulled into your repo the moment it is called and wont be cleaned up by garbage collection like the other two methods. Check out the docs on how you can use this today.
Please let us know in the Poll how you would like to use us, and if one of the three options that we talked about here doesn't quite fit your scenario please let us know by leaving a comment! We would love to hear the different projects you all are building with us and how we can better support you and how we deliver our content to you!
0 votes ·
Beta Was this translation helpful? Give feedback.
All reactions