Skip to content

Annotations required? #160

Answered by gkdn
dustinschultz asked this question in Q&A
Discussion options

You must be logged in to vote

i.e. you only need annotation if you want to call the Java API from JavaScript. Adding these annotations puts new restrictions on the source and it is better to provide them inside the source. What you can do is, you can see create your own helpers to expose these APIs to JavaScript.
(All of these assume the library is only using apis emulated in J2CL)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gkdn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #48 on July 29, 2022 23:36.