SSSS

Results 4 comments of SSSS

The first return of `useWatch` is undefined, not initial values. react-hook-form also has this problem, but provides `defaultValue` props. https://react-hook-form.com/docs/usewatch

> > The first return of `useWatch` is undefined, not initial values. react-hook-form also has this problem, but provides `defaultValue` props. https://react-hook-form.com/docs/usewatch > > `const name = useWatch('name') ?? 'zhangsan'`...

> > > > The first return of `useWatch` is undefined, not initial values. react-hook-form also has this problem, but provides `defaultValue` props. https://react-hook-form.com/docs/usewatch > > > > > >...

git clone jscodeshift ```js // sample/reverse-identifiers.js function transformer(file, api) { const j = api.jscodeshift; return j(file.source) .find(j.Identifier) .replaceWith( p => j.identifier(p.node.name.split('').reverse().join('')) ) .toSource(); } // replace with async function transformer(file,...