We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin version: 0.75
module Image = { [@react.component] let make = (~src) => <img src />; }; let x = <Image src="123" />; let useCounter = () => { let (count, setCount) = React.useState(() => 0); let increase = () => setCount(oldCount => oldCount + 1); (count, increase); }; module WithCounterUser = { [@react.component] let make = () => { let (count, increase) = useCounter(); <div onClick={_ => increase()}> {React.string(string_of_int(count))} </div>; }; };
Please check gif below:
Also notice that click on <Image /> jumps to module definition, should it jump to Image.make instead?
<Image />
The text was updated successfully, but these errors were encountered:
#167 add parsing for deconstruction let [193]
dd1fe03
fixed in 0.86-2019.3
Sorry, something went wrong.
No branches or pull requests
plugin version:
0.75
Description
Please check gif below:
Also notice that click on
<Image />
jumps to module definition, should it jump to Image.make instead?The text was updated successfully, but these errors were encountered: