Comments (2)
From @hastebrot on May 8, 2018 11:52
Regarding LitElement
, lit-html
, and redux stores. I played a bit with Dolphin Platform and found following obstacles:
-
Dolphin → redux →
LitElement
: Using the Dolphin's approach to identify beans by object reference and redux's nature (freeze'd objects) give some obstacles. Redux has the concept of selectors (see:reselect
[1]) which could be helpful to specify changes/splices to bean properties).LitElement
useslit-html
which takes the complete property tree (say: Dolphinmodel
) and only update the template parts that causes changes, i.e. only applies the subproperties that causes these changes. -
LitElement
→ redux → Dolphin: Here we probably need to diff the objects, to explictly send the changes to the Dolphin controller. Theimmer
library [2] could be helpful, if it allow to retrieve a list of changed subproperties.
Additionally how to mix uni-directional changes (the LitElement
/redux appoach) and bi-directional changes (the PolymerElement
approach) is an open question.
Overall the problem seems to be, that with Redux we can not identify whether an object is the same or a different object, caused by the immutable nature of it.
References:
from rico.
This issue was moved to #7
from rico.
Related Issues (20)
- clarify FIXME comment in TestClientConnectorImpl
- Rico version is not shown correctly in banner HOT 1
- Byte[] support in model by adding ConverterFactory implementation
- Adding . editorconfig file HOT 2
- External repository links for client library implementations in README are pointing to a wrong URL HOT 2
- Fix release build and version numbers
- Add git commit hash to MANIFEST.MF file. HOT 3
- Rico-Angular: Using multiple controllers duplicates model entries HOT 1
- Rico-Angular: Instanciating multiple controllers "at the same time" mixes up the model references HOT 4
- Rico-JS, Rico-Angular: Move functionality to Rico-JS.
- Security: NPE if user has no roles
- Better error handling in ClientSessionLifecycleHandlerImpl
- Double.NEGATIVE_INFINITY won't be transferred correctly by remoting
- Check old branches
- Check old Remoting branches
- apply new package structure to test packages
- SpringJUnitControllerTest is not using Junit 5 HOT 3
- JavaDoc is missing internal links
- Provide Hash-function for Download-Input Stream
- JavaDoc: @Param for generics produces warning HOT 1
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 rico.