#createStore not working - function not implemented

2 messages · Page 1 of 1 (latest)

final moth
#

Hi there,

am I missing something or is createStore just not implemented in astros solid-js?

import { createStore } from "solid-js/store";
...
const [myStore, setMyStore] = createStore(false);

Throws the error:

error Function not implemented.

How can I fix this or is this just not implemented?

Thanks!

Kind regards

stray plover
#

solid-js/store works for me. Please create a self-contained minimal example which show the problem. This way it is easier to spot your problem.