Hacker News new | ask | show | jobs
by fidlefodl 4351 days ago
Fwiw, i use serverside React rendering with a Golang API server. My JS code has an interface layer which interfaces to browser/node, and on first load a balancer throws the request to Node, which makes local API calls to the api server, and renders it all in node.

Technically i use Node, but only to implement a small interface layer for things like http requests. So i don't really consider it a Node app. The real code is all React and Golang.

1 comments

Awesome stack. It's exactly what I've started working on lately. I have 2 questions for you :) 1. What router do you use for react as it's necessary if you want multiple entry points into your app ? Rrouter seems promising. 2. How do you elegantly proxy client cookies from your node app to your api ? (both way: read and writes) Thx!
If you've ever used Ember's router and liked it, I'd suggest the react-nested-router[0]. So easy to use

[0] - https://github.com/rpflorence/react-nested-router

Do you happen to have a boilerplate of your stack on github?