Re: Server rendering react using cherrypy...

matt Gerwen van <[email protected]> Wed, 28 Feb 2018 01:06:15 -0800 (PST)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
Hi Tim,

React is a very nice way to handle the front-end. What I gain from it, hmmm 
good question.
thanks for that inside. 

I do not understand what you mean by 'I've used react on its own'?
React version 0.15 can be used as a js-library within cherrypy, So far as I 
understand, React 16.2 needs npm to work. 
How did you use react and which version?


On Wednesday, February 28, 2018 at 12:46:26 AM UTC+1, Tim Roberts wrote:
>
> matt Gerwen van wrote: 
> > Hi Tim, 
> > 
> > I also like to combine react 16.2 (native) with cherrypy. I'm not so 
> > good programmer, eventhough I like to learn and do some programming.  
> > The examples of python-react are for Flask, not for Cherrypy. How did 
> > you go and did you solve this issue. Flask has it's own 
> > 'render-machine'. I like to hear from you, how you did go with it. 
>
> It's always interesting when a thread from a year ago pops back to life. 
>
> I have never done it.  I've used CherryPy on its own, I've used CherryPy 
> with FastCGI behind Apache, and I've used React on its own.  Franky, I 
> don't see the point of combining them.  CherryPy already has the socket 
> processing needed to run a web server.  What is React going to buy you 
> in this case? 
>
> -- 
> Tim Roberts, [email protected] <javascript:> 
> Providenza & Boekelheide, Inc. 
>
>

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.