Git Product home page Git Product logo

Comments (6)

grug avatar grug commented on August 27, 2024 2

@Dinosys I'll see if I can give this a look today!

from data-mocks.

github-actions avatar github-actions commented on August 27, 2024

This issue hasn't received any attention in a while. Can it be closed or does it require more work?

from data-mocks.

Dinosys avatar Dinosys commented on August 27, 2024

it would still be nice if we could use this library in IE11...

from data-mocks.

kieran-allen avatar kieran-allen commented on August 27, 2024

I've got this working in a clean create-react-app project. I had to add the following polyfills to the project to get it working on ie11 without data-mocks included:

import "react-app-polyfill/ie11";
import "react-app-polyfill/stable";

However the only error I could attribute to data-mocks was Proxy is undefined which was caused by the fetch-mock library using Proxy which is unsupported by ie11.

This can be solved by a rollback to fetch-mock 6.5.2
wheresrhys/fetch-mock#415 (comment)

Definitely not seeing loads of console errors though.

N.B I've yet to test graphQL

from data-mocks.

github-actions avatar github-actions commented on August 27, 2024

Hi there :) This issue hasn't received any attention in a while. Can it be closed or does it require more work?

from data-mocks.

Lapz avatar Lapz commented on August 27, 2024

I've looked into IE11 and gotten this working and the main things that are needed are proxy-polyfill and the fetch-polyfill. The fetch-mock compatibility problems were [fixed]((JakeChampion/fetch#736) so IE 11 support should work out of the box. I've also created a repo that has the minimum changes needed for a CRA repo.

from data-mocks.

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.