Re: A sample project showing server side rendering with React and Django

2015-01-27 Thread Ustun Ozgur
Exactly, sorry for the confusion, I should have made it explicit that this is only if you want to have a server-side rendered page that reuses the react code. If you are just beginning with react or if your requirements do not need the SEO boost or slight performance boost (known as time to firs

Re: A sample project showing server side rendering with React and Django

2015-01-26 Thread bobhaugen
Ustun, thanks a lot. I think I start to get it. So if I don't care about server-side rendering of React templates (which I will try avoid in the beginning stages, anyway), I can skip node.js. Learning React is on my todo list. Then I'll need to dig deeper. I suppose then I might change my mind.

Re: A sample project showing server side rendering with React and Django

2015-01-26 Thread Ustun Ozgur
Hi Bob, On Sunday, January 25, 2015 at 5:52:00 PM UTC+2, bobhaugen wrote: > > Ustun, > > Please say more about the advantages? As in, what can you do by adding a > node.js server to the mix (and so requiring everybody else who wants to use > your Django project to do the same, learn and manage n

Re: A sample project showing server side rendering with React and Django

2015-01-25 Thread bobhaugen
Ustun, Please say more about the advantages? As in, what can you do by adding a node.js server to the mix (and so requiring everybody else who wants to use your Django project to do the same, learn and manage node.js, etc.) that you could not do with just plain Django on the server and React.js

Re: A sample project showing server side rendering with React and Django

2015-01-25 Thread Ustun Ozgur
On Sunday, January 25, 2015, bobhaugen wrote: > Ustun, do you think it is necessary to use a node.js server to interact > with react.js on the client side? Seems like a lot of added complexity. But > I could be missing something important... > Hi Bob, This is definitely not the only way but I d

Re: A sample project showing server side rendering with React and Django

2015-01-25 Thread bobhaugen
Ustun, do you think it is necessary to use a node.js server to interact with react.js on the client side? Seems like a lot of added complexity. But I could be missing something important... On Saturday, January 24, 2015 at 7:13:56 AM UTC-6, Ustun Ozgur wrote: > > Last year I gave a conference ta

A sample project showing server side rendering with React and Django

2015-01-24 Thread Ustun Ozgur
Last year I gave a conference talk at Djangocon EU where I introduced React.js to the community. Since then, I have been getting some emails asking for some sample code. I just published a sample project that simply uses a node.js server to delegate server side rendering from Django. Hope that