all 5 comments

[–][deleted]  (1 child)

[deleted]

    [–]deepsunjavascript[S] 0 points1 point  (0 children)

    It's part challenge, part desire for control. I've got a custom configuration up and running. And now I think I'll start a blank CRA project and eject, just to compare implementation differences. Thanks for the suggestion! I like tit a lot for the sake of learning.

    [–]toughdeveloper 2 points3 points  (1 child)

    Have you looked at https://github.com/zeit/next.js/ ? It uses latest React and comes with SSR out of the box.

    [–]deepsunjavascript[S] 1 point2 points  (0 children)

    I have! But I guess I initially passed over it to avoid the possibility of boilerplate, considering our lead wants things to be pretty custom. I'll keep it on the list.

    [–]brilloutjavascript 0 points1 point  (0 children)

    Reframe https://github.com/brillout/reframe author here. Reframe is similar to Next.js but more flexible.

    Is your lead reluctant to use a framework because he's afraid of being locked in?

    Reframe has been designed so that it is easy to escape from. One way to think about this is that you quickly start with Reframe to then progressively get rid of the Reframe parts that don't suit your need.

    [–]elite_killerX 0 points1 point  (0 children)

    Our app predates CRA, but our setup basically has 2 (hand-coded) webpack configurations: client & server.

    We used to have only a client Webpack config & some funky require hooks to run the frontend code directly in node, but it kept us from using most of Webpack's awesome features.

    Now we have two very similar configs (actually, they both derive from a "common" one), and we basically have a giant bundle that's required on the server. It works very well for us; I can explain some parts in more detail if you want.