-
-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some questions related:) #431
Comments
Node is already being targeted on the serverside.
|
@jariz Thank you for the reply :) I think I didn't fully understand the answer to the second question. For example, I have an app using razzle with react-router, and in the app I have three routes pointing to three components. My current understanding is that when I make a request to url |
I guess you could theoretically make a new route (before the catch all But yea, just because you can, doesn't mean you should. |
Also, if things get busy, disabling SSR won't really have all that much of a difference imo. |
Yes, I think you are right. In my project I use react-loadable to do code-splitting and lazy load. Though I didn't apply some cache strategy and the performance is not bad I think. And the motivation is that I read some blogs mentioned this idea And I will learn more about question3 if I am available, thank you for your answer and thank you all your guys for this awesome repository:) |
👍 |
Firstly thank you for this repository, which enables us to write code once and enjoy isomorphic application easily.
I have several questions to ask and need someone to communicate with so that I will not struggle at some knowledge pieces.
I use window object which doesn't exist in server side in my code, it be ignored while compiling, right? And what if I use requestAnimationFrame or setTimer in my code, will it leads to memory leak? or It can be refined by webpack config
target: node
.How can I do client side rendering for specific route? By setting router separately in the express server ? for example not to use
app.get('/*')
,useapp.get('/login')
if I want login page can do client side rendering?how can I do client side rendering fallback when the traffic is too busy?
Thanks in advance. I am newbie and just some clews is also ok.
The text was updated successfully, but these errors were encountered: