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

How can i use it with jsx ? #75

Closed
iraniamir opened this issue Oct 28, 2017 · 3 comments
Closed

How can i use it with jsx ? #75

iraniamir opened this issue Oct 28, 2017 · 3 comments

Comments

@iraniamir
Copy link

Hi, there
i use mithril + jsx in my app and i want use this ! how can i do that ?

@StephanHoyer
Copy link
Member

I think you have to use a jsx-compiler serverside. Haven't tried this, since I don't use jsx.

If you found a solution for this, feel free to drop it here, so that I can include in the docs.

@alfa-jpn
Copy link
Contributor

alfa-jpn commented Nov 3, 2017

Hi,
I used mithril.js with jsx.

This example is SPA + SSR with jsx.
https://github.com/alfa-jpn/mithril-spa-ssr-example

Without juice(server side css rendering) version is this commit.
https://github.com/alfa-jpn/mithril-spa-ssr-example/tree/e04ca9572eaf05e25c50e1f07ff37e9995b1331c

@iraniamir
Copy link
Author

@alfa-jpn thank you so much.

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

No branches or pull requests

3 participants