Andrey

Results 237 comments of Andrey

Have you seen the code in the demo repo? I stripped down the example to just that: ```tsx export function useState() { React.useState(0); React.useEffect(() => { return () => {}...

Here is the complete reproducer in 16 lines of vanilla react code: ```tsx import React from 'react'; function useState() { React.useState(0); React.useEffect(() => () => {}); } function Counter() {...

I have updated the original description too. There is nothing left from Hookstate in the above 16 lines of vanilla react code.

Committed the same code sample to the demo repository now.

Maybe naming. But devtools should not influence how I name my functions, right? Compiler is happy with this name, so why not...

@rickhanlonii, sure, but I can not rename the hook as it is the interface of the public library and I could not find better name originally. Hookstate.useState is in the...

Brian, would it be possible to apply and merge the solution you proposed in the latest comment above? The downside you mentioned is actually a good feature for hookstate support...

Brian, yes, I want the effect hook invisible when it is inside of custom hook named useState. I understand you proposal does not have the downside for all other custom...

Are you planning to return to this back again? We need more ideas :) I certainly have got no idea and zero knowledge of this code... On Thu, 21 Jan...

Guys, any plans or ideas when/how to progress this?