fbjs
fbjs copied to clipboard
A collection of utility libraries used by other Meta JS projects.
code: https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/stubs/EventListener.js#L28  [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Hello, I'm using a js module (it's basically a fork of fb fixed-data-table) that relies on fbjs translateDOMPositionXY.js for scrolling it's dom content. https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/dom/translateDOMPositionXY.js In Chrome for Mac Os translate3d...
We can avoid #260, so let's add a test of some sort.
```js var keyMirror = function(obj: T): $ObjMapi K> { ``` gets reprinted as ```js var keyMirror = function(obj: T): $ObjMapi K> { ``` which doesn't parse. This will need to...
Or using a package that does shallow equal. Some packages (`recompose`, `react-event-listener`) end up requiring and using `fbjs` for the `shallowEqual` function, [with the reasoning being that, since it's already...
Calls to setImmediate won't working in IE10 or IE11. Known bug since 2014, https://github.com/YuzuJS/setImmediate/issues/35 Basically those versions of IE don't allow you to make a naked call to `setImmediate`, it...
Hi, I have a recommendation to improve the [`warning.js`](https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js) file. When logging the error message, please add also a `console.trace()` call, so it becomes trivial to find the source function...
I wanted to contribute to this project but ran into this issue getting started: there is a failing build somewhere when I `npm install` in the appropriate directory (invoked by...
For some reason the command ```npm outdated --json --long``` which is used in [1] returns ```0``` in version 6 and ```1``` for version 7. To reproduce: ``` nvm use v6.9.4...
Hi! We would like a version of 'warning' which uses 'console.warn' instead of 'console.error'. This is for deprecations notices, which tend to be noisy and lower pri than other warnings....