Hacker GitHub

← All repos

styfle/react-server-example-tsx

View on GitHub ↗ ★ 276 TypeScript

⚛️ Boilerplate for isomorphic web app with React server-side rendering in TypeScript

20 mentions on Hacker News by 1 person: 0 stories, 20 comments · first 2016-09-20 · latest 2018-09-02

Mentions per year 20 mentions · busiest year 2017 (15)
20082026
  1. …to demonstrate TypeScript + React SSR that should point the reader in the right direction https://github.com/styfle/react-server-example-tsx
    comment by styfle · 2018-09-02 · in TypeScript at Google
  2. …"hapi" was replaced with "spife". So yes, they changed the backend and the frontend at the same time. [0]: github.com/styfle/react-server-example-tsx
    comment by styfle · 2018-04-04 · in Re-inventing npmjs.com
  3. …on a small project. Feel free to browse my repos as I have several real-world TypeScript apps. [0]: https://github.com/styfle/react-server-example-tsx
  4. …I chose to use the bare Node.js APIs so there is no favoritism in express, koa, hapi, etc. [0]: https://github.com/styfle/react-server-example-tsx
  5. If anyone wants to try out React SSR + TypeScript, I have a working example here: https://github.com/styfle/react-server-example-tsx One of the reasons I picked up React is that views could be type checked at compile time which was not…
    comment by styfle · 2017-12-24 · in Vue.js vs. React: what happened in 2017
  6. …front end in the same repo. Then change (data: any) To something like (data: User) See this repo https://github.com/styfle/react-server-example-tsx
  7. Good point. What do you think about shared components using React SSR? https://github.com/styfle/react-server-example-tsx
    comment by styfle · 2017-12-06 · in Ditching Go for Node.js
  8. …`hydrate` which is how to enable React event handlers like onClick after a server-side render. https://github.com/styfle/react-server-example-tsx/blob/4586...
  9. I believe you can stream the <head> while still waiting for any react components to render like so: https://github.com/styfle/react-server-example-tsx/blob/4586...
  10. …improved if you call React.createFactory() and then stream the factory call like this[0] code? [0]: https://github.com/styfle/react-server-example-tsx/blob/4586...
  11. I use a combination of both template string literals and React SSR streaming. https://github.com/styfle/react-server-example-tsx/blob/4586...
  12. …I haven't taken on all the build dependencies of a modern web app just to host a simple blog. [0]: https://github.com/styfle/react-server-example-tsx [1]: https://www.ceriously.com/blog/
  13. Here is my example with React + TypeScript + Webpack https://github.com/styfle/react-server-example-tsx
  14. …:) I have boilerplate repo[0] that demonstrates using server-side rendering (SSR) with React. [0]: https://github.com/styfle/react-server-example-tsx
    comment by styfle · 2017-10-31 · in React and TypeScript – The Basics
  15. …but certainly React + TypeScript gives you autocomplete in VsCode. Try cloning my repo here: https://github.com/styfle/react-server-example-tsx
  16. …so many choices. That's why I made a boiler plate project with React SSR, TypeScript, and Webpack https://github.com/styfle/react-server-example-tsx
    comment by styfle · 2017-09-04 · in The Wonderful World of Webpack
  17. …and any other template syntax way more attractive. [0]: https://github.com/styfle/typed-tmpl [1]: https://github.com/styfle/react-server-example-tsx
    comment by styfle · 2017-04-27 · in TypeScript 2.3
  18. …limit some of the features. If you don't specify, I think the default is ES5. See this example: https://github.com/styfle/react-server-example-tsx/blob/mast...
    comment by styfle · 2017-04-27 · in TypeScript 2.3
  19. …it updated, but I just found out next.js has a TS example[1] so now I think I'll switch over. [0]: https://github.com/styfle/react-server-example-tsx [1]: https://github.com/zeit/next.js/tree/master/examples/with-ty...
    comment by styfle · 2017-03-27 · in Next.js 2.0
  20. …with React Server rendering using TypeScript[2]. [1]: https://github.com/styfle/typed-tmpl [2]: https://github.com/styfle/react-server-example-tsx