node.js - Running redux example without nodejs server? -
im newbie node, redux, webpack , react. found examples:
http://rackt.org/redux/docs/introduction/examples.html
i run universal example. client doesn't want run node.js server on production.. there anyway generate bundle.js @ build time , upload server?
all examples found use webpack-dev-server (node express server), possible create bundle file , serve simple static file?
i'm facing same issue. wanna migrate jsp views based spring mvc app redux/react client spring data api/backend client webapp, server side rendering benefits (universal javascript).
for angular apps (only client side js), it's easy serve bundle browser, , communicate backend via ajax, server side rendering gets more complicated.
the 2 questions ask myself is: worth complexity , work on architecture setting , maintaining? innovation turn project daily headaches, caused new development features , possible issues/bugs on production?
if client not going appreciate, or value (from non-tech point of view), of server side rendering architecture, maybe not best idea give frame of complexity project.
best luck!
Comments
Post a Comment