yyx990803 / vue-hooks

Experimental React hooks implementation in Vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't access hook "data" in created lifecycle

zfeher opened this issue · comments

During my experiments with hooks I found that the hooks "data" cannot be accessed in the created lifecycle method. In mounted they will be accessible. Lets say we want to replace mixins with hooks then maybe this needs to be fixed as well, because we might do sy on created with the shared stateful logic provided by the hooks.