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

Did you find this page helpful?