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

Did you find this page helpful?