Coder Social home page Coder Social logo

awesome-es2015-proxy's Introduction

Hei! ๐Ÿ™

I do podcasts, Open Source and working on local development community efforts.

Blogs

Podcasts (norwegian)

  • Kortslutning โ€“ All about the life as developers. Oriented towards soft skills
  • BartJS Podcast โ€“ Podcast on all things JavaScript
  • Lesehesten โ€“ Periodically released podcasts discussing programming books and articles

Programming videos (norwegian)

awesome-es2015-proxy's People

Contributors

arfatsalman avatar capacitorset avatar chasefleming avatar christianalfoni avatar diegorbaquero avatar hemanth avatar mikaelbr avatar mischah avatar mrjacobbloom avatar nilssolanki avatar philbooth avatar sangaline avatar sdgluck avatar sindresorhus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-es2015-proxy's Issues

Suggestion: Perhaps you could add this gist

I made this gist recently as a proof of concept of what Proxies could do after watching one of your talks (I believe it was you, the guy giving the talk certainly directed everyone to this github[ really enjoyed it by the way]).

Anyhow, its a proxy constructor that allows you to place promises on the object's body, then accessed them from a chained set of properties. (sorry, i may not be explaining it very well. showing is best);

var obj = Promiser({
    a: new Promise((res,rej)=>setTimeout(()=>res(1), 1000)),
    b: new Promise((res,rej)=>setTimeout(()=>res(2), 1000)),
    c: new Promise((res,rej)=>setTimeout(()=>res(3), 1000)),
    d:1,
    e:2,
    f:3,
});


console.log( await obj.a.b.c.f.e ); //prints { a:1, b:2, c:3, f:3, e:2 }  in approx 3s
console.log( await obj.a.b.c ); //prints { a:1, b:2, c:3 } almost immediately

just thought that your repo was a great resource for people looking for things regarding proxies, since there aren't many out there.

https://gist.github.com/jasuperior/5d339f9c2572b3bb52d487de4086a3b2

Consider adding react-easy-state, the observer utility (and the compiler utility)

  • React Easy State is a transparent state management library for React.

  • The Observer Utility is a general purpose transparent reactivity library (React Easy State is just a thin wrapper of it). It uses ES6 Proxies to achieve a 100% language coverage for reactivity.

  • The Compiler Utility is a 'sandboxed' code evaluation library. It uses ES6 Proxies (has traps) in conjuction with the with keyword to 'sandbox' code. This library gets less dev time from me than the former two nowadays.

Please add the ones you like from these. Thanks! ๐Ÿ™‚

Add Echo and ComLink to the list

I've been working on a silly little proxy toy called Echo that could be a fun addition to this list: https://github.com/mrjacobbloom/echo -- it prints whatever line of code you write, as long as it starts with Echo.

Also, ComLink is a very cool library that uses proxies to simplify communication between Web Workers. I definitely think it should be on here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.