[Discussion] Mobx Devtools vs React Devtools inconsistent highlighted updates
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, react
- Domain
- devtools
Research direction
Start with the linked CodeSandbox sample and reproduce the inconsistent highlight updates in Mobx-React-Devtools and React Devtools. Compare the highlighted renders and the reported update calls, then determine whether the behavior is expected or indicates a bug; the issue does not name a source file or test to update.
Written by the indexing model from the issue text.
Description
Hi,
I'm getting inconsistent results when using the highlight updates feature of Mobx React Devtools and React Devtools.
Using Mobx-React-Devtools the Mobx components are only highlighted twice (when they render the first time and after being updated when I click the update button:
But when I use React Devtools the Mobx components are always being highlighted suggesting that they are always being rendered:
Is this expected?
Here is a link to the sample project on CodeSandBox in case you want to try it out.
I've also noticed that on both Mobx components there's an update method being called every single time:
I'm mentioning it since I don't see something similar for the sample React PureComponent that I'm using without Mobx.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mobxjs/mobx-react-devtools
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mobxjs/mobx-react-devtools#119 ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
mobxjs/mobx-react-devtools#118 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mobxjs/mobx-react-devtools#117 · 3 comments · 13 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
mobxjs/mobx-react-devtools#116 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
mobxjs/mobx-react-devtools#115 · 3 comments ·
All issues in mobxjs/mobx-react-devtools
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
PedestrianDynamics/pyFDS-Evac#476 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aiko-chan-ai/DiscordBotClient#380 ·
-
Offisielle trærOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 3 days
-
Add: Atlas TVOpenchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 4 days