James Friend
James Friend
Merlin doesn't provide very good Reason syntax error information; in particular the location of the error is often way off. The positional information from refmt is way better, so I...
- add a syntax error - wait for it to be displayed in the CRRA output - fix the syntax error - the Bucklescript status still displays 'Compiling...' even though...
In 0.11.0 `React.isValidComponent()` returns `false` when passed a component instance (not a descriptor). Not sure if this is the intended behaviour but it seems counter intuitive. If it is intended,...
Just as `ReactMount.render` returns the rendered component instance, it seems to me that `ReactShallowRenderer.prototype.render` should return the rendered component or expose it in some other way (maybe a `getRenderedComponent` method)...
Where can I attach some error handling? Any errors which occur during the initial render of a view which I've just navigated to end up getting caught and rethrown by...
In React 0.11.0, `React.isValidComponent` returns false for component instances (not descriptors, see https://github.com/facebook/react/issues/1916). This means that [OverlayMixin.getContainerDOMNode](https://github.com/react-bootstrap/react-bootstrap/blob/master/src/OverlayMixin.js#L60-L61), which uses this function to differentiate between a component and a DOM node,...
Given a usage of $Keys like: ``` js function keyMirror( keysObj: T & {[key: string]: null}, ) : {[key: $Keys]: string} { const mirrored = {}; for (let key in...
When trying to compile Reason React with Rollup, the error ``` Error: Cannot call a namespace ('CreateClassInternalHack') ``` is thrown when compiling reason-react/lib/es6/src/reasonReact.js ```js import * as CreateClassInternalHack from "create-react-class";...