feat: redux (@stencil/redux deprecated)
miqmago opened this issue · 5 comments
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Up to now I have been successfully using @stencil/redux.
I was updating some dependencies and I have seen that it has been deprecated. Please could you indicate if @stencil/store intention is to be a replacement for redux?
I'm not really sure if @stencil/store is the replacement so we can forget about reducers, actions and so on, and make complex things easy as it seems @stencil/store. I have some apps where the store is quite complex, containing even class objects with their methods so they are shared to the hole app, like a kind of singletons.
Describe the Use Case
replacement of @stencil/redux
Describe Preferred Solution
No response
Describe Alternatives
I have tried to integrate redux-toolkit without success, I haven't found any specific guide or example for stencil...
Related Code
No response
Additional Information
No response
Hey @miqmago 👋
I was updating some dependencies and I have seen that it has been deprecated. Please could you indicate if @stencil/store intention is to be a replacement for redux?
We do not intend for @stencil/store
to be a replacement for the deprecated @stencil/redux
package. Our current plans do not involve developing @stencil/redux
further, or integrating its functionality into @stencil/store
.
The @stencil/redux
package had never reached a stable 1.0 version, and had not been updated in ~2 years when the current team took ownership of it. As we continue to focus on web component development with Stencil rather than full application development, we decided to end its development.
@rwaskiewicz understood, many thanks.
Not sure if it's off-topic here and where to ask this question in this case: Currently, at our company, we have fully developend some big applications with stencil + ionic, even mobile apps with capacitor. They are well organized, blazing fast, with minimal boilerplate and really easy to maintain, but from your comment I'm wondering if this is a good strategy... Does it mean that stencil will not be the best option (or even an option) to develop full applications in near future? Is there any webinar talking about future plans?
Also is there anything we can do to help/support stencil to not leave full app development? When one starts programming in stencil, has the feeling that is reaching heaven in terms of freedom: the fact that it has no framework behind is amazing. One can feel that you is almost touching the heart of the navigator... :)
Hey @miqmago,
That's great! We see Stencil as a piece of the application development workflow - it's a great place to build the web components for a shared library, a design system, etc. It's one that takes an active part in the Ionic Framework still and we plan for it to continue that way.
However, the Stencil redux package had not been worked on for 2 years. Rather than let it sit and receive no updates, we felt it more appropriate to signal now that we don't plan to develop the project further. Rather than try to "do it all", we'd rather focus on making Stencil the best web component compiler it can be.
Also is there anything we can do to help/support stencil to not leave full app development? When one starts programming in stencil, has the feeling that is reaching heaven in terms of freedom: the fact that it has no framework behind is amazing. One can feel that you is almost touching the heart of the navigator... :)
❤️ We have a Stencil Community that folks are welcome to come and propose new packages for. It is a GItHub organization where members of the the community build and maintain packages for Stencil that are not maintained by Ionic. There are a few packages that relate to application development if you're interested in getting involved!
hi there
its interesting that Stencil is going to still be supported into the future.
I do have a few strange questions (I inherited a really old project written in Stencil that creates an SDK / web-components)
- since the
@stencil/redux
is deprecated what options are to use for a state management where a 'theme' is updated independently by different users? @stencil/store
feels like a really dumb down version of a state manager and I am not sure if its the right way to go about?- any ideas on how I could approach this particular huge issue for me ?
I do not know React, Redux, etc... so some advice would be greatly appreciated
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out.
Thank you for using Stencil Store!