React testing hook with callback

后端 未结 0 1831
[愿得一人]
[愿得一人] 2020-12-02 16:49

I\'m trying to test a simple hook i\'ve made for intercepting offline/online events:

import { useEffect } from \'react\';

const useOfflineDetection = (
  set         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题