alfonsogarciacaro/Feliz.Solid

Need importable JSX

Opened this issue · 1 comments

Hi, currently we can't import ( js to Fable ) for jsx. Now, in solid js there is solid/router which is Router component for solidjs.

It would be great to have importable solidjs to import component like this and other library component easily imported in Fable / Solid project.

Sorry @kunjee17, actually when we talked I forgot it's already possible to combine the Import and JSX.Component attributes 😅 As in here: https://github.com/fable-compiler/Fable.Solid/blob/93d6fcb5b2075b4b750e3e6112e78b11b24f411d/src/Fable.Solid/Solid.fs#L76-L77

Anyways, I'm trying to add some improvements to make it easier to create bindings for external libraries. I'll let you know 👍 Also, I've split this repo in these two ones, so I will deprecate this one. Can you please report new issues in those repos instead? Thank you!

https://github.com/fable-compiler/Feliz.JSX
https://github.com/fable-compiler/Fable.Solid