Filipp Riabchun

Results 75 comments of Filipp Riabchun

Blocked by https://github.com/sindresorhus/cpy-cli/issues/35

`history.location` object is now frozen

`parsePath` can be used as a replacement for `createLocation`

https://github.com/ReactTraining/history/issues/814

Here's my workaround: ```js const push = (to, state) => history.push({ hash: '', search: '', ...(typeof to === 'string' ? parsePath(to) : to) }, state) ```

Seems related to https://github.com/storybooks/storybook/issues/2513 and https://github.com/storybooks/storybook/issues/1735

You can try to attach PropTypes directly to exported component instead: ```js const StyledButton = CSSModules(Button, styles) StyledButton.propTypes = { label: propTypes.string, handleClick: propTypes.func, } export default StyledButton ```

@V-ed `ignoreTypeIndexes` is what helped me in a similar case. Unfortunately, it still doesn't let you ignore only some specific numbers

What's the recommended way to track window dimensions before this issue resolves?