Create separate react based package that provides out of the box offline components
See original GitHub issueFeature Request
React integration is needed to deliver better UX.
We can have separate components like OfflineMutation etc.
Looking for feedback.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Code-Splitting - React
Most React apps will have their files “bundled” using tools like Webpack, Rollup or Browserify. Bundling is the process of following imported files...
Read more >How To Set Up a React Project with Create React App
In this step, you'll create a new application using the npm package manager to run a remote script. The script will copy the...
Read more >7 Ways to Create a New React Application - Bits and Pieces
How to create a reactjs application: The best way, starters, boilerplates, and tools for a new react app. Compare NextJS, Remix, Bit, Gatsby...
Read more >Build a fully offline app using React Native and WatermelonDB
See how you can build a fully featured offline app using React Native for the frontend and WatermelonDB for data storage.
Read more >Creating a React App - Codecademy
However, npm is a separate project from Node.js, and tends to update more ... It also provides an out-of-the-box build script and development...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

While I don’t have a ton of experience with apollo-client yet I would hope we can make a HOC version along with a component version. IMO using a component with render props is really messy syntax wise and it mixes your data handling and presentational code in a way that is not desirable (harder to read and maintain, tightly coupled). Syntax is cleaner and concerns are better separated with a HOC in my opinion. Also from what I’ve seen so far Typescript appears difficult with the component version, type is never inferred on the props passed to render function.
Fixed