Closed honey-grapes closed 1 year ago
many functions are written in JSX directly, they should be outside.
source:- ChatInput.js
The function inside onChange and onKeyDown should be outside, so that code remains clean @sidmohanty11
@honey-grapes @VenomFate-619 Yup! These improvements will be huge for improving our code quality! Thanks!
@honey-grapes maybe we can collaborate on it to make the code clean. We can develop a doc regarding the coding standard and practices.
Can I work on this issue? Please assign me @sidmohanty11
Hi @sidmohanty11 , if this issue has not been resolved, please assign this to me.
Hi @sidmohanty11 , I've created a pull request for the improvements in SearchMesage.js
. Please provide your feedback if I should proceed with the changes in the inline functions in other files.
While looking through issue #132 I found some things in SearchMessage.js that could be improved upon. Please let me know if you agree and I can start working on them:
Thanks!