GithubHelp home page GithubHelp logo

Start with usage examples about fetch HOT 4 CLOSED

jzaefferer avatar jzaefferer commented on May 21, 2024
Start with usage examples

from fetch.

Comments (4)

annevk avatar annevk commented on May 21, 2024

I think having examples that push the boundaries a bit is fine. After all, ES6 syntax is already shipping, fetch() is not.

As for the placement of the examples. They are in the API section because the rest of the specification deals with something much larger. The fetching infrastructure for the entire platform.

I would be open to having an introduction section that explains the fetching infrastructure and includes examples (including <img crossorigin>, background-image, new Worker() etc.) though. Interested in writing that?

from fetch.

jzaefferer avatar jzaefferer commented on May 21, 2024

an introduction that explains the fetching infrastructure and includes examples

That sounds very useful. I was coming from github's fetch polyfill and wasn't aware of the actual focus of the spec.

Interested in writing that?

Personally, no, but I'll ask people on the jQuery team about that.

from fetch.

shospodarets avatar shospodarets commented on May 21, 2024

I have provided some useful examples in my article: http://blog.gospodarets.com/fetch_in_action/
using ES5 syntax.
I can write some examples based on it (if somebody suggests which would be the best) or anyone else can use them.

from fetch.

jzaefferer avatar jzaefferer commented on May 21, 2024

Nice!

from fetch.

Related Issues (20)

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.