Skip to content

taro-hooks v2.0.0

Compare
Choose a tag to compare
@innocces innocces released this 23 Jun 14:17
· 80 commits to next since this release

由于 taroruntime 会在大版本的需求前提下变更一些动态引入的归则. 而导致初期设计方案的全局注入我们使用的公共 hooks 失败.

该版本主要旨在将依赖于 runtime 注入的 hooks 通过 alias 的形式进行 ghost deps + runtime file 的形式完成.

tasks

  • vue plugin type error: packages/plugin-vue/runtime/hooks.ts
  • hooks union response type error
  • pnpm deps update
  • vue demo instand ref to useState
  • docs update
  • test
  • demo valid
  • rewrite readme
  • rewrite template project: 3.6 PR/3.7 PR
  • rewite createUseInfoHook type

依然存在少量 task 未完成.

What's Changed

  • refactor(plugins): replace @tarojs/taro -> @taro-hooks/core by @innocces in #44

Full Changelog: https://github.com/innocces/taro-hooks/compare/[email protected]