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

Feature: Preact support #7

Open
kaicataldo opened this issue Oct 13, 2020 · 5 comments
Open

Feature: Preact support #7

kaicataldo opened this issue Oct 13, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@kaicataldo
Copy link
Owner

In the spirit of keeping everything as light and fast as possible, we should allow for native support of Preact!

@kaicataldo kaicataldo added the enhancement New feature or request label Oct 13, 2020
@SimeonGriggs
Copy link

Keen for this. The appeal of this plugin to me is just using JSX's (awesome) templating language to create static HTML, so the actual React-magic of this only needs a light touch.

@kaicataldo
Copy link
Owner Author

Yeah, it could be worth expanding the scope of this plugin to eleventy-plugin-jsx at some point...

@kaicataldo
Copy link
Owner Author

kaicataldo commented Oct 31, 2020

@SimeonGriggs FWIW, I also published https://github.com/kaicataldo/eleventy-plugin-jsx. This is only for using JSX to generate static HTML, though, so not sure if the addition of Preact in it is a huge win.

Definitely seems like a good thing for this project!

@SimeonGriggs
Copy link

That's cool, love it.

@kaicataldo
Copy link
Owner Author

With a big focus of this project being to balance DX with performance, I do think moving to Preact is inline with the project goals. Might be worth exploring sooner rather than later! If we do want to do that, does it make sense to combine this and eleventy-plugin-jsx into one project? I think we'd probably drop support for React and make this a more batteries-included experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants