Provide a way to import mobx-devtools from JavaScript
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 502
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
This feature is particularly useful for developing browser extensions. See react-devtools
If you install react-devtools as a project dependency, you may also replace the <script> suggested above with a JavaScript import (import 'react-devtools'). It is important that this import comes before any other imports in your app (especially before react-dom). Make sure to remove the import before deploying to production, as it carries a large DevTools client with it. If you use Webpack and have control over its configuration, you could alternatively add 'react-devtools' as the first item in the entry array of the development-only configuration, and then you wouldn’t need to deal either with <script> tags or import statements.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
The issue names no project file or test entry point; start by reviewing how mobx-devtools is currently loaded and compare the linked react-devtools import usage. Done means the devtools can be imported from JavaScript for browser-extension development, with the import occurring before application imports as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100