Describe the bug
import { render } from '@solidjs/web';
import { createSignal, Loading } from 'solid-js';
function App() {
const [count, setCount] = createSignal(async (v) => {
return v
}, 100);
const [count2, setCount2] = createSignal(async (v) => {
return v + 1
}, 100);
return (
<div class="p-8">
Count: <Loading>{count()}</Loading>
<hr />
Count2: <Loading>{count2()}</Loading>
</div>
);
}
render(() => <App />, document.getElementById('root')!);
Your Example Website or App
.
Steps to Reproduce the Bug or Issue
playground
Expected behavior
should show initial value
Screenshots or Videos
Platform
.
Additional context
No response
Describe the bug
Your Example Website or App
.
Steps to Reproduce the Bug or Issue
playground
Expected behavior
should show initial value
Screenshots or Videos
Platform
.
Additional context
No response