Open borislit opened 4 years ago
Blocked By: https://github.com/wix/vscode-glean/issues/97
Example:
class Foo extends Component { render() { return (<div> {this.props.foo.map((bar) => <div>{bar.x}</div>)} </div>) } }
Current:
const Foo = props => { const foo = useRef(); const x = useRef(); return <div> {foo.current.map(bar => <div>{x.current}</div>)} </div>; };
Expected:
const Foo = props => { return <div> {props.foo.current.map(bar => <div>{bar.x}</div>)} </div>; };
Blocked By: https://github.com/wix/vscode-glean/issues/97
Example:
Current:
Expected: