Hi all, I'm currently building a Rancher UI exten...
# extensions
b
Hi all, I'm currently building a Rancher UI extension and would like to integrate
<http://nats.ws|nats.ws>
, which uses WebSocket to connect to a NATS server. I'm unsure where exactly to initialize this WebSocket connection within the extension — since I need to establish the connection when the app mounts. What's the recommended way to handle this in a Rancher UI extension? Also, I have a separate question: While developing the extension, I'm unable to access routing info using
useRoute()
when loading the extension via the Developer Load feature. However, it works fine in normal dev mode. Is this a known issue or a limitation of the Developer Load mechanism? Thanks in advance for any guidance!
@busy-ability-54059 I have an additional question. can't I pass async function in the rules prop of
<LabeledInput/>
I faced another issue while using YamlEditor/ inside Tab/ suppose I have 4 tabs. only first tab's YamlEditor/ shows which is fine. but when I change the Tab. it shows an empty YamlEditor/, untill I click on the editor.