Export variable
const [next, setNext] = createSignal(false);
export {next}
If I export a variable like next it's exported as promise
How can I export variable like a variable?4 Replies
that is weird and not usual
something else must be going on
usually it should simply export the signal: https://playground.solidjs.com/anonymous/fb0131ed-b4c1-4675-8067-88b95c980c07
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Thank you!
ur welcome!