A
A
Anton Zhukov2016-08-10 14:40:43
JavaScript
Anton Zhukov, 2016-08-10 14:40:43

React. server rendering. Has anyone seen an adequate implementation of fetchData? (i.e. with asynchronous data loading)?

Looking for an adequate implementation of fetchData on the server side? (i.e. with asynchronous data loading)
I've only seen implementations with data loading for the top level component. This is not serious

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Zhukov, 2016-09-06
@MrCheater

https://github.com/MrCheater/react-fetch-data

A
Anton Izmailov, 2016-08-10
@WapGeaR

I didn't quite understand the question.
Saw requests and in the final promise you call the render on the server.
Alya
.then(data => {
createStore(asyncState);
render()
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question