Comments (2)
We're running into the same problem. Is anybody working on a fix for this? The only alternative that could possibly work is to implement custom store integrations for our stencil projects.
from stencil-redux.
I am not sure if having different stores could help me with my current need to split ui states on a per datasheet base. What is described may solve the issue I have, but reading its not working atm like this surely gets my +1 to fix this.
Can anyone help me on my usecase, I am a little stuck in the logic:
I have my ui state inside the store and am loading different page data from google firebase. My current ui state is initializied by analyzing the datasheet on componentWillLoad() and then setting it inside the store if there are no values in the store present. How can I store the viewState on a datasheet hash based model? Is there an option to work with typescript maps inside of redux? Maybe I am just missing the point on how to keep the state based on the route without changing each viewState member to work as an named array ...
My viewstate is an object with 3 subkeys basically a collection of 3 lists of booleans controlling the options toggled inside each of the datasheets. The list of options for the viewContainers is dynamically for example I have a list of booleans for the state of an undefined number of accordions. If i change the route to another datasheet the store keeps the state alive but this should be based on the key of the datasheet. Eg my second accordion should persist its open state only in the data hash its been opened ...
Thanks in advance, i did not find any solution on this, maybe its that simple and I am thinking to complicated - I cannot find a working syntax on returning the state when having viewState as an Array inside the store :)
from stencil-redux.
Related Issues (18)
- update npm package HOT 2
- Using <slot /> ? HOT 2
- Can be refreshed stencil-redux-demo ? HOT 1
- mapStateToProps should map state to props, not local state HOT 1
- can't use redux-thunk's withExtraArgument mechanism with @stencil/redux HOT 1
- Support Stencil One's context alternative getStore() HOT 2
- mapDispatchToProps is wrong HOT 8
- Stencil Redux not functioning anymore after upgrading to Stencil One HOT 9
- declare typesafe `Action` HOT 1
- Framework Integration with Angular 5 HOT 1
- Injecting the store for unit-tests: 'store' is undefined HOT 5
- Latest build fails with @stencil/core 1.8.0 HOT 1
- Is it possible to dynamically load my reducers HOT 4
- Discussion on Stencil-Redux future implementation HOT 4
- Import declaration conflicts with local declaration of 'Action'. HOT 2
- dist/index.js file is referencing incorrect path
- unit tests not working when importing @stencil/redux HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stencil-redux.