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
bigmistqke
bigmistqke9mo ago
that is weird and not usual something else must be going on
bigmistqke
bigmistqke9mo ago
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Nextoorka
NextoorkaOP9mo ago
Thank you!
bigmistqke
bigmistqke9mo ago
ur welcome!

Did you find this page helpful?