ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

feat: SolidJS support

Open pashvin opened this issue 3 years ago • 3 comments

Prerequisites

Describe the Feature Request

SolidJS (https://www.solidjs.com/) is like ReactJs but has better performance. In terms of code syntax, it is much easy to use. Providing support of ionic for SolidJS will help improve the popularity of the SolidJS framework. Also SolidJS port from ReactJs should be not that hard as the syntax of SolidJS and ReactJS are very similar.

Describe the Use Case

Giving more choice to developers along with Angular , React & VueJs

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

pashvin avatar Sep 19 '22 19:09 pashvin

Thanks for the issue. Ionic Framework is built with Web Components which can be used is many different JavaScript Frameworks. As a result, you should already be able to use Ionic's components in a SolidJS app. Is there a particular problem you are running into?

liamdebeasi avatar Sep 19 '22 20:09 liamdebeasi

@liamdebeasi I am looking for "Page Navigate" in solidJS + Capacitor project. For ReactJS project, you can do this (https://ionicframework.com/docs/react/navigation) but not sure how to get the same thing in solidJS.

I thought React/Vue/Angular wrappers are created to address the framework-specific requirement (like routing) and providing one for SolidJS will help solidJS developers too.

pashvin avatar Sep 19 '22 20:09 pashvin

Thanks for the clarification. I will leave this open for a period of time to collect feedback from the community.


For other developers: If this is a feature you want, please upvote/react to the original feature request to avoid "+1" comments.

If you have any specific feedback regarding issues you are running into using Ionic with SolidJS or what you would like to see with an Ionic SolidJS integration, please post a comment.

liamdebeasi avatar Sep 19 '22 21:09 liamdebeasi

I would really like this feature. I am big on solid-js and would love to see support for it in the ionic UI framework

TheCollinCashio avatar Sep 23 '22 05:09 TheCollinCashio

@TheCollinCashio Please vote using the "thums up" reaction on the main post.

pashvin avatar Sep 23 '22 13:09 pashvin

As someone who has wanted to use Ionic with different "non supported" frameworks over the years. I really wish Ionic would migrate to using a framework agnostic routing solution in the future. This would probably benefit both them and the community. It would probably cut their development time down by quite a bit, and it would allow users to use the components with more frameworks.

Supporting all these different custom routers which are moving targets doesn't seem to make much sense IMO.

g5becks avatar Nov 25 '22 17:11 g5becks

I also would really love to see first class DX for SolidJS in the ionic UI framework and on equal footing with Vue, React, and Angular.

PaulOst avatar Jan 12 '23 06:01 PaulOst

Hi everyone,

We greatly appreciate everyone who provided feedback on this feature request. The team revisited this feature request, and we do not have plans to implement SolidJS support for Ionic components at this time. You can still use Ionic components with SolidJS, but it means you are interacting with the Web Components directly and not Solid components.

We are happy to reconsider this decision in the future as SolidJS gains more popularity. However, we currently would like to focus our efforts on improving the experience of using Ionic with our existing integrations (Angular, React, and Vue). In general, we'd like to see the SolidJS community grow before we commit to adding a full SolidJS integration.

liamdebeasi avatar May 09 '23 18:05 liamdebeasi

My company is disappointed that you are not planning support for SolidJS [as Solid components]. Wasn't 44 upvotes and 8 hearts enough after you sought community feedback? We have lots of existing projects built using React and some using Angular, but all new projects are being built using SolidJS. Please reconsider in the future.

PaulOst avatar May 11 '23 04:05 PaulOst

My company is disappointed that you are not planning support for SolidJS [as Solid components]. Wasn't 44 upvotes and 8 hearts enough after you sought community feedback? We have lots of existing projects built using React and some using Angular, but all new projects are being built using SolidJS. Please reconsider in the future.

I agree completely. I'm currently just using web components + solidjs on the side so it's okay.

But coming from React is a way better experience for us (we've too merged to solidjs)

Odas0R avatar May 11 '23 09:05 Odas0R

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Jun 10 '23 10:06 ionitron-bot[bot]