|
|
|
|
|
by fouadmatin
3342 days ago
|
|
Hey HN! I'm Fouad from engineering team at Segment. We built `create-next-app` after we started playing around with Next.js a couple months ago and slowly found ourselves creating more & more micro-next websites. When optimizing React for SEO or fast page loads, you really need to render pages server-side and Next makes that incredibly easy. We'd been using Create React App for a while for UIs on top of our backend services and thought why can't we just use Next the same way? Here's how it works: $ npm install -g create-next-app
$ create-next-app my-app or $ create-next-app --example with-socket.io my-app (search through examples at https://open.segment.com/create-next-app#examples) We have a few more ideas for how to improve (like combining examples!) and would love feedback on what y'all would like to see - let us know here: https://github.com/segmentio/create-next-app/issues |
|