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

Allow ReactPy to compile to raw HTML (flatpage) #1272

Open
Archmonger opened this issue Feb 11, 2025 · 0 comments
Open

Allow ReactPy to compile to raw HTML (flatpage) #1272

Archmonger opened this issue Feb 11, 2025 · 0 comments
Labels
priority-2-moderate Should be resolved on a reasonable timeline.

Comments

@Archmonger
Copy link
Contributor

Archmonger commented Feb 11, 2025

Current Situation

Now that we've merged in fully functional client side components, it is now technologically possible for ReactPy to be compiled into flatpage(s).

Proposed Actions

Create some sort of compiler (or maybe a Bun extension?) that allows ReactPy to be compiled down into flatpage(s).

In all likelihood, this will involve creating a CLI command for ReactPy that looks something like this:

reactpy flatpages "glob_pattern/to/my_*.html" --outdir "dist/"
@Archmonger Archmonger added priority-2-moderate Should be resolved on a reasonable timeline. type-feature labels Feb 11, 2025
@Archmonger Archmonger changed the title Allow ReactPy to compile to a client-side flatpage Allow ReactPy to compile to raw HTML (flatpage) Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-2-moderate Should be resolved on a reasonable timeline.
Projects
None yet
Development

No branches or pull requests

1 participant