question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create separate react based package that provides out of the box offline components

See original GitHub issue

Feature Request

React integration is needed to deliver better UX. We can have separate components like OfflineMutation etc.

Looking for feedback.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
evelantcommented, Apr 23, 2019

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.

0reactions
wtrockicommented, Dec 16, 2019

Fixed

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found