Comments (3)
This is even more important now that the class properties proposal has made it to stage 3, as this is how they're transpiled.
As a reminder, in the React docs it says this:
We generally recommend binding in the constructor or using the property initializer syntax
so this is very much intended usage.
from react-proxy.
I've wasted +4 hours tracing this bug. :-(
from react-proxy.
It's still impossible to use HMR with es6 components without moving part of constructor to componentWillMount which is unwanted
from react-proxy.
Related Issues (20)
- Cannot proxy classes without transpiling them HOT 8
- Issues with actions not being replaced when modules change HOT 3
- Uglify borked on 1.1.4 HOT 10
- core-js WeakMaps are broken on React Native? HOT 24
- Fails on IE11 Win10 (no Array.prototype.find) HOT 2
- createClassProxy randomly returns first cached class under Safari JIT HOT 5
- ES7 instance properties HOT 1
- 3.x fails when the class contains non-configurable properties HOT 3
- Could this be used to auto-chunkify bundles?
- createPrototypeProxy.js: proxyMethod() does not copy the length property from the original method HOT 1
- Keep InitialComponent reference in ProxyComponent HOT 2
- shouldDeleteModernInstanceMethod shouldn’t call get() HOT 2
- Why forcing update of the whole tree?
- Use lodash-es HOT 3
- support `createReactClass` HOT 1
- Do you want to use ESLint?
- Helpful error not thrown for stateless components instantiation. HOT 4
- Equality check fails HOT 1
- Does not work with React 16.3 forwardRef HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-proxy.