Skip to content
New issue

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

Feedback: old function should be replaced by arrow function #28

Open
ashish2060 opened this issue Jun 19, 2024 · 0 comments · May be fixed by #29
Open

Feedback: old function should be replaced by arrow function #28

ashish2060 opened this issue Jun 19, 2024 · 0 comments · May be fixed by #29

Comments

@ashish2060
Copy link

function handleClick(){
setCount(count+1);
}

this is old style of writing function and can be replaced by modern javascipt

steps to produce:
1.go to the component folder
2.click on the counter.jsx file
3.see the handleClick function
Screenshot 2024-06-19 154407

@ashish2060 ashish2060 linked a pull request Jun 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant