alfonsogarciacaro / Feliz.Solid

Use Zaid Ajaj Feliz API with SolidJS
MIT License
48 stars 1 forks source link

Need importable JSX #2

Open kunjee17 opened 2 years ago

kunjee17 commented 2 years ago

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.

alfonsogarciacaro commented 2 years ago

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