Closed geakstr closed 1 year ago
Nice catch, this seems tricky to do, I could probably hoist the update value then append the setter transform, so ideally it would be:
const awaited = await note.load();
_setcurrent((_val) => _val = awaited);
Should be fixed in 0.14.3
In case if you try assign value received from awaited promise to solid-label macro variable, it won't set
async
for wrapper function:This will be transformed to:
Though it should be something like this I guess?