Remove use of SolidJS resources within client-api. Instead, use promises wherever needed and use runWithOwner to get SolidJS effects to work.
This includes making the initialization of providers async (instead of using resources). This has the benefit of allowing providers to be used in window elements without the variables being undefined until its ready. There's no longer an isLoading property and variables are not undefined while loading.
client-api
. Instead, use promises wherever needed and userunWithOwner
to get SolidJS effects to work.window
elements without the variables beingundefined
until its ready. There's no longer anisLoading
property and variables are notundefined
while loading.