innocces / taro-hooks

Hooks Library for Taro
https://next-taro-hooks.pages.dev
MIT License
423 stars 35 forks source link

Who are using taro-hooks? #4

Open innocces opened 3 years ago

innocces commented 3 years ago

欢迎使用了 taro-hooks 的朋友们留言 ✨

tourze commented 3 years ago

+1

innocces commented 3 years ago

+1

是一号用户!!!!!😊

idootop commented 3 years ago

准备上车,老哥这个库会一直维护下去吗?

innocces commented 3 years ago

准备上车,老哥这个库会一直维护下去吗?

会的 ~ 目前保持着每周发版的更新进度~ 希望多多使用~ 多多反馈哦! 😄

wan-zhiyuan commented 3 years ago

需要的taro版本是3.x吗

innocces commented 3 years ago

需要的taro版本是3.x吗

是的。目前是按照3.x的标准进行开发。因为内部使用了taro提供的一些基础生命周期hook.

zeybar commented 3 years ago

希望能兼容2.x版本,因为对于一些比较复杂的项目来说2.x的性能优于3.x

innocces commented 3 years ago

希望能兼容2.x版本,因为对于一些比较复杂的项目来说2.x的性能优于3.x

taro 2.x实际内部并不是真正的react, 而是京东的nervjs。 目前适配可能需要找到一个合适的方法

innocces commented 3 years ago

希望能兼容2.x版本,因为对于一些比较复杂的项目来说2.x的性能优于3.x

2.x 提供一种2.x的接入思路.

innocces commented 3 years ago

taro-todolist 💯 : 一款待办事项小程序, 使用taro-hooks开发


taro-todolist weapp

taro-todolist h5
abstain23 commented 2 years ago

今天刚发现这个,感觉风格上类似阿里的ahooks。准备直接上生产环境,不知道稳不稳健

innocces commented 2 years ago

今天刚发现这个,感觉风格上类似阿里的ahooks。准备直接上生产环境,不知道稳不稳健

(:з」∠) 就是效仿ahooks来开发的. 问题处理是比较及时的. 如果可以的话,希望多多使用多多提问. 可以readme里加群. 可以更快的得到问题反馈哦

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mengfanfei commented 2 years ago

taro-hooks不能用在支付宝小程序吗?

innocces commented 2 years ago

taro-hooks不能用在支付宝小程序吗?

理论大部分是可以的。只是里面有些hook是针对微信shims的。所以避开专门shim的一些hook. 支付宝也是可以的.

mengfanfei commented 2 years ago

比如说,我使用taro/cli预设的模版,里边的两个按钮点击触发的hooks(setTitle, showModal)在真机上没反应,在支付宝开发工具中就有反应

innocces commented 2 years ago

比如说,我使用taro/cli预设的模版,里边的两个按钮点击触发的hooks(setTitle, showModal)在真机上没反应,在支付宝开发工具中就有反应

=。- 有打断点看看么? 我这边暂时还没有在支付宝里实测过. 底层实际上是直接调用taro.xxxx的.

mengfanfei commented 2 years ago

话说,我用taro/cli没有预设的模版,里面的点击触发的按钮(setTitle, showModal)在反应上,在支付宝工具中反应反应

=。- 有打断点么?我现在暂时还没有在支付宝里实测过。其实是直接调用taro.xxxx的。

image

不知道咋打断点😂,只是在调试的时候报图上的错,有时间的话可以看看是不是有问题

innocces commented 2 years ago

话说,我用taro/cli没有预设的模版,里面的点击触发的按钮(setTitle, showModal)在反应上,在支付宝工具中反应反应

=。- 有打断点么?我现在暂时还没有在支付宝里实测过。其实是直接调用taro.xxxx的。

image

不知道咋打断点😂,只是在调试的时候报图上的错,有时间的话可以看看是不是有问题

看起来是没有finally的锅。试试shim一个promise试试

innocces commented 2 years ago

该issue依然维护。若想要用例在文档首页展示请移步cases github

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

haobarry commented 2 years ago

如何加你的微信群

innocces commented 2 years ago

如何加你的微信群

wechat

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

eamon-sun commented 1 year ago

啥时候更新新的群二维码呀,之前的到12.4就过期了

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Lin-Min commented 2 weeks ago

在哪里可以看到各个hooks的使用示例,官网提供文档有些粗糙并没有完整的使用示例。

innocces commented 1 week ago

在哪里可以看到各个hooks的使用示例,官网提供文档有些粗糙并没有完整的使用示例。

不好意思,最近休假了.才看到.

https://github.com/innocces/taro-hooks/tree/next/examples

example 文件夹下都是完整的用例(除带 vite 的. 那俩是验证4x 插件的)

vue:

https://next-taro-hooks.pages.dev/vue/pages/index/index

react:

https://next-taro-hooks.pages.dev/react/pages/index/index

小程序直接扫文档里的二维码就好了.