joselcc
joselcc
It looks like Controllers are not the only ones not being garbage collected
It is unnecessary to bind this to your method in the `constructor` when calling to the event handler using an arrow function like this: ```javascript (e) => this.handleKeyPress(e) ``` The...
updating `enzyme-adapter-react-16` to version `1.15.1` fixed the problem for me
I looks like **requestIdleCallback** [was replaces](https://github.com/nfl/react-helmet/commit/a2323add50c15bf6a1047b5d99753cce6db07fd6) with **requestAnimationFrame** from v5.2.0 you will need to import it instead ```js import { requestAnimationFrame } from 'react-helmet/lib/HelmetUtils'; ..... ......... describe('Something', () => {...
it seems we need to upgrade to the latest version https://github.com/ampproject/amphtml/commit/7d7b8d6d0ef7767a2b319c7fbd1959dffbc8931e#diff-5185ebf96af6c84dd9d0f25168752664L279
yeah, I still see the old code in `v1.0.26`, I think they meant to publish `v1.0.25`
all `amphtml-validator` versions use what is published in `https://cdn.ampproject.org/v0/validator.js`, `categorizeError` method was [removed here from the validator engine](https://github.com/ampproject/amphtml/commit/7d7b8d6d0ef7767a2b319c7fbd1959dffbc8931e#diff-52a1cb778626c52da13d91b4849462d6L6283)
static dir path mapping to a custom endpoint was added in this [PR](https://github.com/storybookjs/storybook/pull/12222) but it is available only in alpha version (6.1.0-alpha.23) https://github.com/storybookjs/storybook/blob/next/lib/core/docs/standalone.md#for-static-mode
> @zhenyulin > give a try with this, > > `jest.mock('dep-package', () => ({ ...jest.requireActual('dep-package'), })); const cwpDetectionAgency = require('dep-package');` > > instead of doing > `import * as depPackage...
`babel-jest` still relies in `babel-core` from Babel 6, if you want to use **Babel 7** you can use this tranformer [babel7-jest](https://www.npmjs.com/package/babel7-jest)