What is wrong with Math.random create Signal
This code:
produces different values on interface and in createEffect log, what is going on?
produces different values on interface and in createEffect log, what is going on?
const [name, set_name] = createSignal(`Guest ${Math.floor(Math.random() * 10)}`)