Is there a way to pass in an object to the first param of createResource? For example: I am trying the following and it is not working:
const [val] = createResource(props, req);
I have also tried a few other things including the following:
const [val] = createResource(signal(), req);
const [val] = createResource(["foo","bar"], req);
const [val] = createResource(merged, req);