performed all the steps above but still getting the same!
@bepd2 жыл бұрын
Great vid, very succinct. For feedback, I did find the 'blip' sound when the code highlighting moves to be a little distracting annoying.
@PeterElbaum2 жыл бұрын
Noted :)
@false0start Жыл бұрын
So this sounds really great but, as someone who's quite new to this, what does the second solution mean? how am i supposed to let that resolve?
@Geomaverick1242 жыл бұрын
Awesome! Thanks for vid. I do find myself looking up the '...not a function' in the middle of a project. I am definitely saving this vid and subscribing
@PeterElbaum2 жыл бұрын
Glad it was helpful! :)
@ralub9777 Жыл бұрын
wow! a clear explanation of what i was looking for!
@PeterElbaum Жыл бұрын
Glad it was helpful!
@aruchgupta Жыл бұрын
There is a 3rd use case as well, when the data sent by the promise itself is not a valid JSON object. Please consider the following example- const myPromise = new Promise((res,rej)=>{ res('100'); }); myPromise.then((data)=>{const res= data.json();}).then((data)=>{console.log(data);}); Hopefully, I'm making some sense here. And thank you for the knowledge you share with us.