Skip to content

Can I just use JavaScript? #6663

Answered by chrisdholt
hrstoyanov asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hrstoyanov
Comment options

Answer selected by KingOfTac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants