Skip to content
#

mobx

Here are 1,665 public repositories matching this topic...

mweststrate
mweststrate commented Apr 1, 2020

MobX 6

Hi folks, I've tinkered a lot about MobX 6 lately, so I want to layout the vision I have currently

Goals

🧨 1. Become compatible with modern ES standards

Let's start with the elephant in the room.
I think we have to drop the support for decorators.
Some have been advocating this for years, others totally love decorators.
Personally I hate to let decorators go. I think

sincerexie
sincerexie commented Feb 19, 2019

你好!我注意到mobx-react文档里有个注解,如果使用了自定义注入(Customizing inject),则不需要再加observer装饰器,但我看到了本项目中使用了inject mapperFunction的地方,都有加observer装饰器,这是否必要呢?

文档中的注解:

N.B. note that in this specific case neither NameDisplayer nor UserNameDisplayer needs to be decorated with observer, since the observable dereferencing is done in the mapper function

具体地址:[mobx-react#customizing-inject](https://github.com/mobxjs/mo

RyanChristian4427
RyanChristian4427 commented Mar 12, 2020

Intended outcome

I'm building an application, and after doing some work with MobX, I ran a production build to ensure everything was working as expected, but it errored out. Development build does work exactly as intended, however.

Actual outcome

I get the following error:

✖ ERROR ./node_modules/mobx-react-lite/dist/observer.d.ts
ERROR in ./node_modules/mobx-react-lite/dist
BrettKoenig
BrettKoenig commented Oct 11, 2019

I'm not sure if this will be included when the book is finished, but getting the config values for the .env file requires getting values from a lot of different sources and different configurations. It would be helpful if there was better documentation around that process.

I would love to submit a PR for it, but I haven't been able to figure all of it out myself yet.


<
patrick99e99
patrick99e99 commented Aug 1, 2017

When following the provided instructions, I get:

>yarn run dev
yarn run v0.27.5
$ concurrently -k 'node desktop/server.dev.js' 'npm start'
[1] module.js:487
[1]     throw err;
[1]     ^
[1]
[1] Error: Cannot find module 'update-notifier'
[1]     at Function.Module._resolveFilename (module.js:485:15)
[1]     at Function.Module._load (module.js:437:25)
[1]     at Module.requi
Vladis466
Vladis466 commented Aug 20, 2018

As someone new to the Mobx paradigm,

I would greatly benefit of a quick rundown of the structure of the application when regarding the Mobx framework specifically (so the src folder).
Many of the Mobx 'example' applications I have found online use different variations so it can be a little difficult to deduce the goal of parts of the structure.

I am thinking a blurb about any specific varia

AlirezaAkbarix
AlirezaAkbarix commented Feb 1, 2019

As you can see below, inside SecondExampleScreen we have a method called demoReactotron and inside it, you warned not to use API like this! because of complexity of MobX for newbies and the initiating the environment and importance of API, please provide a real API usage with handling of refreshing, changes on state and so on.
Thank you.

demoReactotron = async () => {
console.
samkuhn
samkuhn commented Dec 5, 2016

RFX Stack is great, thanks for taking the time to work on it and share.

My main issue right now is obscure debugging in development mode - when jumping to error line numbers in Chrome from the console I'm usually confronted with things like this:

eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar 

Making it quite difficu

Improve this page

Add a description, image, and links to the mobx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mobx topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.