daangn / stackflow

🧱 Mobile-first stack navigator framework with composable plugin system
https://stackflow.so
MIT License
701 stars 75 forks source link

Framework Integrations other than React? #277

Open XiNiHa opened 1 year ago

XiNiHa commented 1 year ago

I'd like to use Stackflow with other frameworks than React, especially with SolidJS. While I'm somewhat interested in building the integration by myself, it looks not that easy to start with since the current integration code for React looks somewhat large to just read it without any docs, and the docs related to the architecture of the package are marked as in construction. Is it possible to get some support for SolidJS integration, or at least the docs to be prepared anytime soon?

XiNiHa commented 1 year ago

I've spent some time trying to create SolidJS integration for Stackflow and realized that all the workspace settings and extensions are optimized for React. I have no idea how to manage extensions for different framework integrations available. Do you have any good ideas for doing this? Do you think that the plugins should be developed for each framework integration again and again?

tonyfromundefined commented 1 year ago

I agree with what you pointed out! Soon we will be moving some plug-in interface implementations incubated in integration/react to "core". (The StackflowPlugin interface is now a common core interface, but the implementation is only in react integration.🥲 It not makes sense. 😂)

For this, several steps are required:

XiNiHa commented 1 year ago

Sounds great! It'd be great for me to have further works linked with this issue, so I can get some notifications from it! 🙏

tonyfromundefined commented 1 year ago

Currently, Karrot is undergoing migration, so stability and fulfilling existing requirements are of high priority. Perhaps an improvement schedule will be set at a later date, but I will let you know. Thanks for your contribution! 🤩

gronxb commented 1 year ago

I had the same concern about the Vue integration. I want to get a notification, too!

XiNiHa commented 5 days ago

I recently started my new attempt to make an integration for Solid. While mostly going well, I have these concerns/questions:

While I definitely want to upstream the changes, I'm open to maintain a separate fork if you're worried of maintenance cost.