Skip to content
#

component

Here are 4,535 public repositories matching this topic...

DamianPereira
DamianPereira commented Apr 27, 2021

I currently have a very big hook, with dozens of useStates, lots of them have empty arrays which trigger unncesary re-renders. But I don't know which is the one doing it each time wdyr logs it's output. I get:

Re-rendered because of hook changes: 
[hook useState result]
...diff

When would be very useful for me is:

Re-rendered because of hook changes:
[hook useState result] 
a616781689
a616781689 commented Nov 28, 2019

看了fish-redux的todoList demo,发现里面连接全局状态的方法是使用visitor

visitor: (String path, Page<Object, dynamic> page) {
      /// 只有特定的范围的 Page 才需要建立和 AppStore 的连接关系
      /// 满足 Page<T> ,T 是 GlobalBaseState 的子类
      if (page.isTypeof<GlobalBaseState>()) {
        /// 建立 AppStore 驱动 PageStore 的单向数据连接
        /// 1. 参数1 AppStore
        /// 2. 参数2 当 AppStore.state 变化时, PageStore.state 该如何变化
     
muhammadbima20
muhammadbima20 commented Apr 22, 2021

Hi there, i have a problem while using vue-multiselect, i use nuxtjs, and vue-multiselect v2.1.6 and the problem or bugs i found is :

i got an error when i focused / open the select option this multiselect, and then try to redirect to previous page using back button in my chrome, the error message is :

Cannot read property 'blur' of undefined

the only thread i found for fixing my

Improve this page

Add a description, image, and links to the component topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the component topic, visit your repo's landing page and select "manage topics."

Learn more