Giter VIP home page Giter VIP logo

Comments (7)

ggdaltoso avatar ggdaltoso commented on May 24, 2024

🤔

It is probably related to this commit which comes as solution for #218

So, it looks like gitcdn isn't the best provider. Although it is faster, sometimes it comes down (don't know why).
We can rollback this changes but need to check window conditionally before setting this new env variable.
Easy fix, I guess.

I'd love to have your contribution on this, @Mrpanquecas. What do you think?

from react95.

Mrpanquecas avatar Mrpanquecas commented on May 24, 2024

I can give it a try tonight, more than eager to help.

from react95.

Mrpanquecas avatar Mrpanquecas commented on May 24, 2024

Do I need specific permissions to contribute? @ggdaltoso

from react95.

ggdaltoso avatar ggdaltoso commented on May 24, 2024

You shouldn't!

Just fork the project and make sure to follow our contribution guidelines

from react95.

Mrpanquecas avatar Mrpanquecas commented on May 24, 2024

I created this pr but I don't really know how to test clippy locally on story book :)

I thought a little bit about this issue and I'm not sure conditionally checking for the window will solve this problem since the code running on server the window property will always be undefined and as a consequence we will never be able to use the S3 CDN. Does it makes sense?

from react95.

ggdaltoso avatar ggdaltoso commented on May 24, 2024

Yes, it does!

As soon as this code runs in the server, it would get into the falsy condition. When the code reaches the browser, the window will be available and the CDN will be changed.

Clippy will work only on the client side and not in the server side so, your solution will work as expected (I hope 😂)

We might need something better to test Clippy, you're right. Maybe we can get a CRA into its package, just to run and test the Clippy. Would you like to contribute one more time?

from react95.

Mrpanquecas avatar Mrpanquecas commented on May 24, 2024

Yes more than happy to contribute. I think I will need a little bit more time to figure how everything works as I am not used to contribute to this kind of packages 😅 .

from react95.

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.