You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using insertUI within a golem modularised app, I end up with:
Uncaught ReferenceError: datagridisnotdefinedateval(evalattryEval(htmlwidgets.js:252:16),<anonymous>:1:1)
at tryEval (htmlwidgets.js:252:16)
at window.HTMLWidgets.evaluateStringMember (htmlwidgets.js:799:23)
at shinyBinding.renderValue (htmlwidgets.js:521:30)
at e.value (outputBinding.ts:48:12)
at delegator.<computed> [as onValueChange] (htmlwidgets.js:112:23)
at e.value (outputAdapter.ts:38:20)
at e.value (shinyapp.ts:559:17)
at e.<anonymous> (shinyapp.ts:736:20)
at e.value (shinyapp.ts:717:29)
at e.value (shinyapp.ts:700:12)
at i.onmessage (shinyapp.ts:350:15)
on the JS side. After few investigations, I realised that the JS dependencies for toastui are not available in the HTML inspector source tab, like they traditionally do for other tools: .
This is maybe related to how packer handle dependencies by not using htmlDependency. I manually have to do this to get it working, which is not very convenient:
Yes also working for me with these examples. It could be a bad JS timing issue on my side, the app being more complex. The only concern about preloading deps even when the widget is not initially here is the app starting time which could be impacted.
Hi Victor,
When using insertUI within a golem modularised app, I end up with:
on the JS side. After few investigations, I realised that the JS dependencies for toastui are not available in the HTML inspector source tab, like they traditionally do for other tools:
.
This is maybe related to how packer handle dependencies by not using
htmlDependency
. I manually have to do this to get it working, which is not very convenient:which is nearly the same as doing
use_waiter
above.I don't know how you want to handle this, create a
use_toastui
or see with John if this can be changed in packer.The text was updated successfully, but these errors were encountered: