Does anyone know how we should be sharing third party libraries across multiple widgets?
I have read some documentation and seen examples, but I'm not quite sure I grasp the concept yet. For example, if I'd like to use react query across multiple widgets, do I install it in the client folder? I've seen esri's d3 example, where they copied the library to the runtime folder of the widget, but can we not just import the module that's installed in the client folder node_modules? Would I need to copy the library to every widget I want to use it in?
I appreciate anyone's insight.