AA

Results 156 comments of AA

@gaotian19981104 did you manage to find a workaround?

*.d.ts files are not included in the export

I just came across this bug. The only workaround to add a description for each value is to add a description to the enum itself. The risk of desynchronization during...

A native implementation comes out of the box: ```tsx import React, { useState, useCallback, useEffect } from 'react'; const useSize = (target: T) => { const [size, setSize] = useState();...

> > A native implementation comes out of the box: > > import React, { > > useState, > > useCallback, > > useEffect > > } from 'react'; >...

Here you go — should work, I think. ```tsx import React, { useState, useRef, useCallback, useEffect } from 'react'; const useRefSize = () => { const [size, setSize] = useState();...