I haven’t been able to find any information on your documentation for how to make use of custom code to modify behaviour of weweb defined plugins/data/etc.
My immediate use case is that I am looking to add an interceptor to axios (if my server returns 401, go through re-auth) but I would also love any general information available.
Would this work for you ?
That would be perfect!
However, pardon my ignorance if the answer is obvious, I haven’t been able to found where to setup an on-app-load WF.
The only ones I’m aware of are on-page-load workflows that are all defined on a page by page basis. As far as I can tell the global workflows are just reusable definitions not something that has a global trigger?
You can find on app load workflows here :
These workflows will be executed on any page load.
axios is a global variable and it will stay this way
It’s so users & developers can use axios without any constraint