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

[REF-2053] Create 3rd Party Component Ecosystem #2706

Closed
picklelo opened this issue Feb 23, 2024 · 3 comments
Closed

[REF-2053] Create 3rd Party Component Ecosystem #2706

picklelo opened this issue Feb 23, 2024 · 3 comments
Labels
feature request A feature you wanted added to reflex

Comments

@picklelo
Copy link
Contributor

picklelo commented Feb 23, 2024

Reflex users create many components of their own, including ready to use high level components and wrapping a nice React component not yet officially supported. and components not officially supported by Reflex. The Reflex community should be able to easily share these components without having to copy/paste their example code. To that end, we introduce a series of reflex component commands to help developers wrap react components, and test and publish them easily.

Goals

  • A single command to create a custom component starter including:

    • Code template including detailed guides on how to wrap a react component
    • Necessary pre-filled files such as pyproject.toml, README, requirements for testing/publishing
    • A starter demo app importing this newly defined custom component. The new component is installed locally as editable for easy development and testing.
  • A single command to publish a component as reflex-my-component on PyPI (and TestPyPI for testing purposes). An account is required by the creator on PyPI. After all, this is the work of the creator.

  • A single command to run the demo as a test to verify the custom component package is functionally correct.

  • End result:

    • Other users can install the component by pip install reflex-my-component
    • Optionally: the demo app can be hosted on the Reflex hosting service (sign up on the gallery page to get featured on reflex website)
    • The custom components will have a page on reflex website for community to discover.

From SyncLinear.com | REF-2053

@wassafshahzad
Copy link
Contributor

Is this open for OSS

@picklelo
Copy link
Contributor Author

@wassafshahzad We are still designing this - what we'd love from the community is to help implement different components to build up the ecosystem.

I'm working on an official roadmap to be published early next week so everyone can see what our next plans are, and to make it easier for contributors to pick up issues on the roadmap.

@picklelo picklelo mentioned this issue Feb 27, 2024
24 tasks
@Alek99 Alek99 added the feature request A feature you wanted added to reflex label Feb 27, 2024
@picklelo
Copy link
Contributor Author

This is available now: https://reflex.dev/blog/2024-04-16-custom-components/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature you wanted added to reflex
Projects
None yet
Development

No branches or pull requests

3 participants