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

Discussion: Coding style guidelines #730

Open
rubenthoms opened this issue Sep 18, 2024 · 0 comments
Open

Discussion: Coding style guidelines #730

rubenthoms opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@rubenthoms
Copy link
Collaborator

Basic styleguide: https://ts.dev/style/

However, the styleguide is not describing every use-case. There are some topics we might want to discuss. Feel free to add points to the list.

Functions

  • Named functions vs. arrow functions: when is it ok (debugging info) to use arrow functions and when should we definitely use named functions (e.g. return functions of useEffect) - what is the complexity/length threshold?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Backlog 📝
Development

No branches or pull requests

6 participants