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.

More futures - Some useful concepts here!

See original GitHub issue

This is a great project. But I would like some more buns.

  1. deferred actions need to be simplified, for example, as discussed with Dan Abramov, and was implemented https://github.com/erikras/react-redux-universal-hot-example/blob/master/src/redux/middleware/clientMiddleware.js

  2. I’d like to upload data for server rendering without additional requests, for example using this technique not data = await request.get('/test/rest'); but app.handle({...request, url: '/test/rest', method: 'get'}, response, next)); router.get('/test/rest', (req,res)=>{ if (__INNER_REQUEST__) { return obj; } else { res.json(obj); } })

  3. write the repository to the local storage and restore it when the page is loaded for a friendlier operation of the application in case of pressing the f5 / overload key (after all, not all the data is immediately synchronized with the server)

  4. More universal data preloading with server rendering like https://github.com/erikras/react-redux-universal-hot-example/blob/master/src/server.js#L92

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
apapacycommented, Jul 19, 2017

Asynchronous actions (interaction with the server) for applications with which I worked were in the majority. Working with promises that are hidden from the user greatly simplified my code.

I’ll try to make examples and tests in the form of a pool request in your repository.

0reactions
apapacycommented, Jul 23, 2017

Sorry, I’m not using a flow, and I could not check it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Futures in Stock Market: Definition, Example, and How to Trade
Futures are financial contracts obligating the buyer to purchase an asset or the seller to sell an asset at a predetermined future date...
Read more >
Futures Market - Basic
The important concept to remember here is that the contract is standardized. Product descriptions are pre-set. If what you produce is different than...
Read more >
CME Group Options on Futures
This introductory guide will walk you through the basic fundamentals, strategy and vocabulary of our options markets, providing a solid base of knowledge...
Read more >
Futures Literacy - UNESCO
People can become more skilled at 'using-the-future', more 'futures literate', because of two facts. One is that the future does not yet exist, ......
Read more >
Global Trends 2030: Alternative Worlds
fuzzy concept . . . difficult to define . . . and equally difficult to measure. ... the most important variables in the...
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