Comments (5)
Hi, thanks for reporting this.
- Do you see any errors in your console?
- What happens if you replace
const relationships = this.dataStore.schema.models[operation.record.type].relationships
with
const relationships = this.dataStore.schema.models[operation.record.type].relationships || {}
?
from react-orbitjs.
No there were no any errors in console.
I tried to wrap an Object.keys(relationships)...
call in if (relationships )
statement and it worked fine
from react-orbitjs.
Hi @maksimsemenov, did #13 fix your issue?
from react-orbitjs.
Hey @hongaar, I'm sorry but I ended up using some custom storage rather than orbit, so I can not check/confirm that #13 fixed the issue.
from react-orbitjs.
No worries, I'll close this issue then.
from react-orbitjs.
Related Issues (20)
- Dependency Dashboard
- withData is not rerendered after a replaceRelatedRecord operation with null HOT 1
- How do you do a proper network-first then cache approach? HOT 8
- Is this something you'd be ok with as a part of react-orbitjs? HOT 6
- The automated release is failing 🚨
- Typescript Conversion HOT 2
- Remove support for Node 12 HOT 1
- Add support for Node 18 HOT 1
- Bug: props mapRecordsToProps are not updated when returning empty object HOT 1
- Enhancement: Ability to return anything apart from just a record function HOT 1
- Ability to use with function components? HOT 3
- Huge performance problem with lots of subscriptions HOT 9
- Question: Use with Typescript HOT 3
- Feature Request: relationships getters and setters HOT 3
- queryStore/updateStore are not always passed in
- removeRecord not rerendering HOT 1
- Legacy context API implementation - React 17.x readiness HOT 1
- Orbit 0.17 breaking change in fetching exception
- Node 15 & 16 support
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 react-orbitjs.