-
Notifications
You must be signed in to change notification settings - Fork 19
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
Any chance of jsx getting implemented #80
Comments
I'm of the opinion, that the F# HTML DSLs are taking away more than they are bringing to the table. For somebody doing web apps only occasionally, searching for Feliz style CSS selectors is really cumbersome. Its not where F# really shines and it makes it really hard to sell F# to JS/TS developers used to JSX. |
@alfonsogarciacaro did create support for Sutil and something like this. I need to dig through and find it.
It's a fair criticism. Personally, I value the (degree of) type-safety + intellisense it provides, but then again, it's always out of date and requires constant maintenance to stay up-to-date. With my own projects, I mix the DSLs regularly with
I appreciate the insight and constructive criticism; I will dig out @alfonsogarciacaro 's contribution - I'm hoping it's exactly what you're asking for. If not, it's something very similar |
I personally feel that JSX fights against what Sutil helps, which is using the native web vs virtual-DOMs. By focusing on F# patterns, it allows us to more easily expand things into functions (as a superset of function components) and more quickly/concisely develop pages. It does take some reset time from the React mindset, but it is totally worth it, since you can pick up any framework to include from there (including React). |
https://github.com/fable-compiler/Feliz.JSX
Is there any chance that something like the above would be added to Sutil?
The text was updated successfully, but these errors were encountered: