Questions tagged [react-server]

36 questions
0
votes
1 answer

Server-side reactjs how to render all routes server-side / is it necessary for SEO? (Electrode)

I am using walmart's electrode framework which is a universal framework that can render components/routes in reactjs on the server side and send back compiled html. Currently what happens is that the initial page load will render on the server and…
0
votes
0 answers

Add reactid in HTML String

I am parsing html string into react component on server side, but it is just giving me simple html without attaching any react id, causes I cannot perform event handling and binding. Can anyone help me how could I add react-id in my html string?
0
votes
1 answer

react client side rendering with django

I am integrating reactjs with my django, I have done setup and even able to render page from server too, but in client side when it comes to rendering and event handling and attaching, I am getting error "Uncaught ReferenceError: MainContainer is…
Prashant
  • 25
  • 11
0
votes
1 answer

how to define global scope event handler for React server-side rendering

Comparing with client side rendering, I prefer to use server-side rendering for an application with little user-interaction.and webpack is the choice for compiling server side code. There is a scenario I want to update table's marginTop once the…
ryu
  • 651
  • 9
  • 23
0
votes
0 answers

ReactJS Server side rendering used as template engine

I want to know if anyone came across ReactDOMServer.renderToStaticMarkup that outputs pure HTML? Currently the function renderToStaticMarkup is merging together React elements which kinda makes my application slow.
jovanMeshkov
  • 757
  • 5
  • 12
  • 29
0
votes
2 answers

React-server failling without error

I created a simple project from generator-react-server . Everything worked fine. I just created new route a new page and a new component and changes hello-world.js (page and component) for home.js. Now when running npm start or react-server start…
svassr
  • 5,538
  • 5
  • 44
  • 63
1 2
3