BuilderIO / BuilderIO/mitosis

CLI for react defaults to mobx

Open
#283 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.