wana: Could not find module in path: 'is-dev'
Hey Alec, nice work! I’ve been playing around with this and first impressions it seems significantly more performant than mobx. However, I’ve been using version 0.6 because higher versions get the following error Could not find module in path: 'is-dev' relative to '/node_modules/wana/dist/wana.cjs.js'
. Would be possible to take a look when you get a moment?
It also looks like it’s possible to used derived
outside of react, in the following way. Is that correct?
import { o, derived, auto } from 'wana'
let count = o(1);
const multiplied = derived(() => count * 10, [count])
auto(() => {
console.log('multiplied:', multiplied())
})
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 29 (14 by maintainers)
Oh that makes sense. Thankyou!