Egor G

Results 67 comments of Egor G

@eek Great, let's wait for them. I've been using this fork for the past 2 months on production and it works with no issues.

I have a somewhat controversial suggestion: automatically bind class methods in `makeAutoObservable`/`makeObservable`. The idea is to set `{ autoBind: true }` as the default, while still offering the option to...

It might be due to React strict mode enabled in your code: https://stackoverflow.com/a/61897567 In this case in production you won't get double renders.

`inject` is considered obsolete and it's recommended to use React Context instead: https://github.com/mobxjs/mobx/tree/main/packages/mobx-react#:~:text=Provider%20/%20inject%20to%20pass%20stores%20around%20(but%20consider%20to%20use%20React.createContext%20instead)

You need to mark your component as an observer somehow. Do you use this package https://github.com/xelaok/svelte-mobx? I believe it’s better to address it there, since the Mobx organization doesn’t maintain...

Works as intended according to docs: https://github.com/mobxjs/mobx/tree/main/packages/eslint-plugin-mobx#mobxmissing-observer There is no reliable way to check whether an observable value is used within a component. Wrapping all the components with observer can...

> Any way for eslint to check if a component is importing from "mobx-react" or "mobx-react-lite" ? Here is my understanding of it. Let's consider the example of a valid...

Quick fix: ``` npm i regenerator-runtime ``` Add this line to the very top of your index file: ``` window['regeneratorRuntime'] = require("regenerator-runtime/runtime"); ```

@cleandersonlobo I can make a PR to include it in the library

Laravel uses Symfony's UploadedFile. The available methods are listed here: http://api.symfony.com/3.0/Symfony/Component/HttpFoundation/File/UploadedFile.html