jquery is a client side library.
If you need to fetch resources you can use context.request
, that is a sync method, or require other packages like for example axios.
Remember that anything async needs to go inside context.async
.
1 Like