Replies: 1 comment
-
I think all the blitz templates use function components instead of class components. Did you find one that is a class component? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently I changed the code on a local project to use functional form elements instead of class based, and found it much easier to read. I'm a complete newbie with React. Would it be worth it to change our templates? Why are we used class based instead of functional React, I ask because most new examples and tutorials I see recommend using functional code.
This was the final result:
Beta Was this translation helpful? Give feedback.
All reactions