next-firebase-course icon indicating copy to clipboard operation
next-firebase-course copied to clipboard

next-firebase-course/pages/enter.js lodash debounce missing prefix

Open julienPierre opened this issue 3 years ago • 1 comments

The "username page" returns an error caused by "debounce" missing the "._" lodash prefix at L96 in next-firebase-course/pages/enter.js . The error occurs when coding along with the Custom Usernames video at 4'45".

This omission is visible in the video, on the fireship.io site, and in the source code here on Github. It prevents any further rendering of the application past the Custom Username video unless a username is created manually in Firestore and in this case the page is skipped altogether.

julienPierre avatar May 19 '21 19:05 julienPierre

I think I ran into that same issue. In my case, I am using NuxtJS (not NextJS) and what I did for this part of the course was use BootstrapVue's text input element which contains a debounce property already baked in (no Lodash needed)

Just throwing that out there in case others find it useful.

dosstx avatar May 20 '21 13:05 dosstx