RFC: Improve JS by converting to Typescript, commenting and minifying + sources RFC2021-04 #1316
Unanswered
iJungleboy
asked this question in
Ideas
Replies: 1 comment
-
The general philosophy in Oqtane is to minimize the use of JavaScript as much as possible - as that is one of the primary benefits of Blazor. For those specific areas where JavaScript is required, Oqtane utilizes the standard JavaScript interop methodology recommended in Blazor. The goal for the JavaScript methods include in the framework was to avoid dependencies on jQuery or other frameworks and just rely on vanilla JavaScript. If there are bugs in the interop.js methods, please explain how to reproduce them and/or submit PRs to fix them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ATM the JS in Oqtane is pure javascript and it has some bugs.
If we would contribute changes chances are big that we need to put comments so future editors don't undo what we fix, but that would start to bloat the JS in unfriendly ways.
The best practice as of now is IMHO to
We (2sic) have a lot of experience with this and would spearhead it if this is inline with the goals of Oqtane and would make it into the distribution.
Your thoughts?
Beta Was this translation helpful? Give feedback.
All reactions