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

Avoid using "&&" for conditional rendering #55

Open
tonylomax opened this issue Jul 6, 2023 · 0 comments
Open

Avoid using "&&" for conditional rendering #55

tonylomax opened this issue Jul 6, 2023 · 0 comments
Labels

Comments

@tonylomax
Copy link
Collaborator

https://github.com/fac27/mood-map/blob/3b09f874eae09d469f58502904362280119ddd11/src/app/mood/page.js#L54C31-L54C31

Interesting article here about why not to do this - https://medium.com/geekculture/stop-using-for-conditional-rendering-in-react-a0f7b96200f8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants