Can I just use JavaScript? #6663
-
Shopping for a web framework, came across FAST, checked the docs briefly. Main question - can I use FAST without TypeScript, just modern JavaScript andC SS, no transpiling/building/bundling phase. Also looked at FluentUI - all examples are in TypeScript/Blazor something... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is not exhaustive, but here is an example of a custom element without using TS, experimental decorators, etc: https://stackblitz.com/edit/js-yvkrh3?file=index.js While stackblitz is likely transpiling/bundling somewhere under the covers, the above example hopefully can illustrate that while FAST provides typings for all packages, we export JavaScript. You should be able to use FAST without TS and any transpiling/bundling. You can also leverage a CDN if you want to avoid leveraging the npm packages. |
Beta Was this translation helpful? Give feedback.
This is not exhaustive, but here is an example of a custom element without using TS, experimental decorators, etc: https://stackblitz.com/edit/js-yvkrh3?file=index.js
While stackblitz is likely transpiling/bundling somewhere under the covers, the above example hopefully can illustrate that while FAST provides typings for all packages, we export JavaScript. You should be able to use FAST without TS and any transpiling/bundling. You can also leverage a CDN if you want to avoid leveraging the npm packages.