Giter VIP home page Giter VIP logo

reactscriptloader's People

Contributors

christopherstyles avatar chuckreynolds avatar lmb avatar marciovicente avatar mtchavez avatar pc avatar pkese avatar sinceow avatar spirinvladimir avatar yariv 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

reactscriptloader's Issues

Feature: NPM package?

Any thoughts of adding this to npm?

I can always simply clone the repo, but still.

Change the name of StripeButton in the example

Just a little advice: change that name to something like ReactStripeButton because checkout.js defines StripeButton, too, so when you build the React objects the first time all is fine (because stripe's script is loaded asynchronously), then if something happens that require to access again to the React object StripeButton was pointing to (like a setState() call), React throws exception (Uncaught TypeError: type.toUpperCase is not a function).

Really a little nasty bug, it took my hours to figure out and fix it.

google maps example failure

I get an error:

Failed to execute 'write' on 'Document': It isn't possible to write into a document 
from an asynchronously-loaded external script unless it is explicitly opened.

NPM Install not installing 0.0.1 Master Branch

Hi,

When installing ReactScriptLoader with npm with the following declarating in my package.json file:

"react-script-loader": "0.0.1",

I am not getting the latest version of the code, i.e there are changes in master that aren't showing up in the copy installed in my node_modules folder.

I have to use:

"react-script-loader": "yariv/ReactScriptLoader#4004db47edf5b4e770f7f9796d73f70392d6c339",

Any idea why this is? Is npm caching an earlier version of the library?

Thanks

Warning: setState(...): Can only update a mounted or mounting component.

I'm receiving the following error when calling this.setState from within the onScriptLoaded callback like in the README example. Is this a known issue and something that can be guarded against? If the component gets unmounted, I would expect the onScriptLoaded callback not to be called.

screen shot 2016-05-26 at 17 43 38

Thanks!

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.