Code is my canvas | AI art IS art | the future of art is not set in stone | Uriel Avalos | linktr.ee/robotandkid
387 Followers
Good article about React hooks and memory leaks. Basically, your app probably has memory leaks. Doh! https://schiener.io/2024-03-03/react-closures
I commit to not eating after 8 pm for two weeks.
GM the road @alleytac @claireujma @kawakami @goldie @bizarrebeast @proharry @midnightmarauder.eth @milibooo
vanilla JS challenge: if you ever asked yourself why peeps use state management libraries or why front-end frameworks like React exist, try to code this simple app using only vanilla JS: User requirements =============== - User must enter an email, name. Phone number is optional. - Email must be a valid email. - Name must have at least two letters. - Phone must be a valid US number. - Disable the submit button whenever the form is invalid (and enable it whenever the form is valid). - Show an error state on the first invalid user input (and hide it whenever the form is valid)