Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to high-quality React code / eject #316

Open
prakhargupta1 opened this issue Apr 25, 2022 · 4 comments
Open

Export to high-quality React code / eject #316

prakhargupta1 opened this issue Apr 25, 2022 · 4 comments
Labels
new feature New feature or request scope: toolpad-studio Abbreviated to "studio" waiting for 👍 Waiting for upvotes

Comments

@prakhargupta1
Copy link
Member

prakhargupta1 commented Apr 25, 2022

Problem

  1. Visual vs. Pro-code. In our latest survey: https://mui.com/blog/2021-developer-survey-results/#if-mui-considered-building-a-low-code-tool-what-primary-use-case-would-match-your-needs, many developers entertain the idea that generating high-quality React code after visually building could be great. While people are pretty bad at predicting what they really want and how they will really behave, this is an interesting data point for us. In practice, I don't think that it means that developers want actually a visual tool that outputs codes, e.g. https://openchakra.app/, but how developers would appreciate a tool that can intertwine visual development with code development. Each has its strengths in different contexts.
  2. Lock-in fear. An only visual development tool could lead developers to not even consider trying the tool out because they would fear that their work will be lost, as soon as they hit a customization wall.

Pains

Benchmark

ext-designer-screencast.mov

Screenshot 2022-06-25 at 14 09 08

Screenshot 2022-06-25 at 14 11 25

@prakhargupta1 prakhargupta1 added the waiting for 👍 Waiting for upvotes label Apr 25, 2022
@oliviertassinari oliviertassinari changed the title Toolpad should eject readable App code base Allow to eject readable app code base Apr 26, 2022
@oliviertassinari oliviertassinari changed the title Allow to eject readable app code base Support eject readable app code base Apr 26, 2022
@oliviertassinari oliviertassinari added the new feature New feature or request label Apr 26, 2022
@oliviertassinari oliviertassinari changed the title Support eject readable app code base Support export to high-quality React code Apr 27, 2022
@oliviertassinari

This comment was marked as resolved.

@prakhargupta1 prakhargupta1 added this to the backlog milestone May 2, 2022
@oliviertassinari oliviertassinari changed the title Support export to high-quality React code Export to high-quality React code May 5, 2022
@prakhargupta1 prakhargupta1 removed this from the backlog milestone May 17, 2022
@prakhargupta1 prakhargupta1 added this to the backlog milestone May 31, 2022
@prakhargupta1 prakhargupta1 removed this from the backlog milestone Aug 17, 2022
@ShaalanMarwan
Copy link

Any update about this feature ?

@oliviertassinari oliviertassinari changed the title Export to high-quality React code Export to high-quality React code / eject Feb 11, 2024
@oliviertassinari
Copy link
Member

I experienced the same need from mui/mui-public#147. My ideal workflow would have been:

Right now, it feels like having to start from https://mui.com/x/react-charts/ is more work than it should be.

@prakhargupta1
Copy link
Member Author

prakhargupta1 commented Apr 17, 2024

While code generation and ejection can help in quickly scaffolding an app, the majority of future development is bound to be code-only.
Instead, for use cases like admin applications, a combination of higher-level components and intelligent data management interfaces can be an option to code less and build fast. Check out #3311 RFC to read more on this idea.

@prakhargupta1 prakhargupta1 added the scope: toolpad-studio Abbreviated to "studio" label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request scope: toolpad-studio Abbreviated to "studio" waiting for 👍 Waiting for upvotes
Projects
None yet
Development

No branches or pull requests

3 participants