Oliver Joseph Ash

Results 235 issues of Oliver Joseph Ash

There are some quick fixes which I will never use, for example "split into declaration and initialization". It is annoying that these add noise to the quick fixes menu, especially...

The `useCallback` quick fix is great! Perhaps we could provide a similar fix for `useMemo`? E.g. to convert ```ts const value = expensiveFn({ someProp }) ``` to ```ts const value...

```ts function identity(t: T): T { return t; } ``` After executing "convert to arrow function": Expected output: ```ts const identity = (t: T): T => { return t; };...

I saw this in the docs: > Unlike VS Code's embedded commands (editor.action.smartSelect.*), this extension uses an abstract syntax tree under the hood, which provides much more accurate results. However,...

Selector factories are common practice in Reselect. How can we register these? Typically we have multiple instances of the selector for different components, but they all have the same name....

Should Xcode command line tools suffice? This could be related to https://github.com/TooTallNate/node-gyp/issues/341. ``` $ npm i [email protected] | > [email protected] install /Users/OliverJAsh/Development/node_modules/gaze > node-gyp rebuild xcode-select: error: tool 'xcodebuild' requires...

I would expect an error here. Or is the lint rule not designed to catch this? ```ts // error ✅ type Fn = (param: T) => number; // no error...

design limitation
needs proposal

In the past we've [ran into bugs around this](https://github.com/dividab/tsconfig-paths/pull/95/files), so it might be better to outsource it. E.g. https://github.com/TypeStrong/tsconfig

Reduced test case: https://stackblitz.com/edit/react-9vjncm Here we are logging the size every time its reference changes. The actual size never actually changes. As you can see, this results in 4 logs:...

Previously this would not error at compile time: ``` ts import useComponentSize from '@rehooks/component-size'; import React = require('react'); declare const ref: React.RefObject; // No error useComponentSize(ref); ``` With this change,...