Egor Gorbachev

Results 28 comments of Egor Gorbachev

@Aleksandern Unfortunately I am not familiar with this tool as well as React Native development in general.

I encountered the same problem. Enabling MobX's strict mode fixed the problem. Pretty sure this issue can be closed.

@colshrapnel Второй пример и не нужно рекомендовать, это использование исключений для control flow, что является антипаттерном: https://softwareengineering.stackexchange.com/a/189225 Такой код лучше на if'ы переписать. В Webstorm даже инспекция такая по умолчанию...

Agree with @yousfiSaad Insert mode does the job and doesn't require any config modification. I believe the issue can be closed.

Hi, thanks for the reproduction. I've removed React.ForwardRefExoticComponent but it didn't help. [Link](https://www.typescriptlang.org/play?#code/KYDwDg9gTgLgBDAnmYcCSAlYBDAxjAYQgFtIA7YMmAHgAU4BeObMxAPkYCg4e4AfOFjwwAdAQA22AM5SAlriKkIFKhOlS6bbrwFD8YkuUqFJMzdp66c+gGIBXMvlnLFRquc6hIsOABNguJJQqABmDk7KcBAARlLAUABu8dQAKnCgMJS+Uuh6hIbKxmwAFLgFKjAAXHApAJTVKQDcnJyyVPEheKgAygAW2CjUAIIcAN4WcCFk1cXYUADmUtVDtYwcZHbE0fH8cBvi4s0Avi1hjjDOZHCy-lSySNQAGiUg1Y-1cI9wo3DBMHZQK4gRpwE6cMpkKTwWiSNrVPoDYDUH4bYjVACMACYAMygjhMca8SbTZgLHIMDhzRYiVEAGk4YIhULgAHV7r00LcLkh4f1BijNhicXjGN8JlNqjdjPdELMyWtSdTUbV6YzlMy2TBegB5WLxJJQXmI5F7QVwLG4o74sVEiVRPWJeJyxYKqlSGmbFUMoA) The `arg` type is still any: Could you elaborate why do you need making `observer` part of...

Hi, could you describe the necessity of that change?

I'd say that both `useState` and `useRef` are appropriate here because they remember their data after re-renders. The approach with `useRef` is just more verbose (hence more bytes in the...

@jamieathans Does the issue exist in a fresh up-to-date Next.js setup?

Please create a runnable reproduction using codesandbox. Here is an example of Mobx + React 18 that shows no warnings: https://codesandbox.io/s/vigilant-hellman-3mjsty?file=/index.js

@urugator Should I keep this behavior? There is an opinion to not commit lock file at all for libraries: https://dev.to/gajus/stop-using-package-lock-json-or-yarn-lock-3ddi