CLI for react defaults to mobx
Open
bug
help wanted
- Dominant language
- TypeScript
- Stars
- 14.4k
- Forks
- 671
- PR merge metrics
- No merged PRs in 30d
Description
Repo: https://github.com/codercatdev/mitosis-example
Video Exmaple: https://youtu.be/fFjzpB3JkwU
I would expect this to default to reacts own state `useState`
```
mitosis compile --to=react component.lite.jsx > output/component.jsx
```
Contributor guide
Research direction
Reproduce the issue in the linked mitosis-example repository with `mitosis compile --to=react component.lite.jsx > output/component.jsx`, and compare the generated output with the expected React state behavior. Use the linked video for additional reproduction context; done means the React target defaults to its own `useState` state handling rather than MobX.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- cli, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100