jedwatson / exenv Goto Github PK
View Code? Open in Web Editor NEWReact's ExecutionEnvironment module extracted for use in other packages & components
License: Other
React's ExecutionEnvironment module extracted for use in other packages & components
License: Other
just ask about support, if someday need help ๐ ๐
The license file appears to be a verbatim copy of React's, but the index.js contains a different Copyright notice. I believe the BSD license file should contain the copyright notice for this project itself. If so, the copyright line from the source should just be added to/replace the existing one on the top of the LICENSE file, if it is intended to license this as the BSD 3-clause license.
Hi, i am building a Universal app using react, and the issue is , i have to fake the window object using JSdom that is in return causing incorrect execution environment.
is there any workaround for it ?
below piece of code exactly determines if code is executing on node server or not, without using window object
var isNode=new Function("try {return this===global;}catch(e){return false;}");
isNode() //true if of node server else false
I'd like to use this in one of my projects.
My environments are "classic" node and the browser without any module loader ( no browserify ).
Wrapping the module in an UMD would make it possible to use it in both env's.
I can also propose a PR if you like. :)
I would like to use this in a project, however because there is no license I'm unable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.