How to pass object property as props in useEffect?

后端 未结 0 572
情深已故
情深已故 2021-01-20 22:15

As in title, I want to pass object as props in useEffect hook.

import React, { useState, useEffect, useRef } from "react";

// custom hook to refer          


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