• Saturday , 4 April 2020

JavaScript Proxy

Code Canyon



Learn how to use JavaScript Proxy by example!

MDN Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

Support me on Patreon! http://patreon.com/shama

Code examples: https://github.com/shama/letswritecode/tree/master/javascript-proxy

Original source

3d Ocean

Related Posts

11 Comments

  1. Julius Cirwithian
    December 26, 2018 at 13:03

    Awesome video. Really easy to understand.

  2. Allan Pinheiro de Lima
    December 26, 2018 at 13:03

    I really, REALLY, did like your video. You're a awesome teacher. I would suggest you to work on more real-life examples as they show the real face and power of the functionality. I mean, the array example could've been done using the prototype on plain old ECMA. You could show us a example making an API request and changing it's response to show only data we need to get, whatever.

    My like goes with you! Keep up your great work

  3. sg games
    December 26, 2018 at 13:03

    What's the IDE ?

  4. ncardez
    December 26, 2018 at 13:03

    Really useful! I'll definitely do my own proxies objects, the idea of findById is very useful because there're many cases in which I end up doing the typical way to get an object like you did but in many different places, so by having a proxy like that as factory it would definitely help a lot, that's what I can see here, at the beginning I thought it was like the regular way of OOP using object.freeze etc, but I realized that's just a kind of the same way, anyway, thanks for sharing, you're doing it well and I'm following you since ~3-4 years ago (I don't remember honestly) 🙂

  5. Dylan T
    December 26, 2018 at 13:03

    been doing this for years. I call it a wrapper…

  6. yibu Bond
    December 26, 2018 at 13:03

    good job,i like it

  7. Bilal Tariq
    December 26, 2018 at 13:03

    your videos are just too perfect.

  8. José Dias Neto
    December 26, 2018 at 13:03

    your videos are just too perfect.

  9. Вячеслав Журавский
    December 26, 2018 at 13:03

    What code editor and theme do you use? It looks like Sublime, but I don't know this theme

  10. Jonathan Lee
    December 26, 2018 at 13:03

    Your not making a clientside mongify array wrapper by any chance 😉

  11. Lxender
    December 26, 2018 at 13:03

    Such a dope API! I've never heard of it before, so thank you very much for showcasing it <3

Leave A Comment

You must be logged in to post a comment.