This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
Commits on Aug 21, 2017
-
Make client server-side rendering compatible
To server-side render, we need to import our routes file in iris, i.e. in a Node context. The issue is that in a Node context window is undefined, navigator is undefined, etc. etc. I removed everything that requires window access from the import path when importing routes.js, while making sure the app still works as expected. This patch means we can `const App = require('../src/routes')` from Iris which sets us up to do SSR!
Configuration menu - View commit details
-
Copy full SHA for 0af5058 - Browse repository at this point
Copy the full SHA 0af5058View commit details -
Make frontend Redux setup server-side renderable
These changes make it possible to create a Redux store on the server with the server-side Apollo client and render our App in Node.
Configuration menu - View commit details
-
Copy full SHA for f3d3ff7 - Browse repository at this point
Copy the full SHA f3d3ff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d06e4a - Browse repository at this point
Copy the full SHA 8d06e4aView commit details
Commits on Aug 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7197b16 - Browse repository at this point
Copy the full SHA 7197b16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f33a9b - Browse repository at this point
Copy the full SHA 5f33a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0645bf3 - Browse repository at this point
Copy the full SHA 0645bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a5f56c - Browse repository at this point
Copy the full SHA 3a5f56cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c91323 - Browse repository at this point
Copy the full SHA 1c91323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 036aff7 - Browse repository at this point
Copy the full SHA 036aff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74e1852 - Browse repository at this point
Copy the full SHA 74e1852View commit details
Commits on Aug 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c31d96c - Browse repository at this point
Copy the full SHA c31d96cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73e6297 - Browse repository at this point
Copy the full SHA 73e6297View commit details
Commits on Aug 31, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 26e4cdc - Browse repository at this point
Copy the full SHA 26e4cdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84c2c2d - Browse repository at this point
Copy the full SHA 84c2c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0830fc6 - Browse repository at this point
Copy the full SHA 0830fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 208b984 - Browse repository at this point
Copy the full SHA 208b984View commit details
Commits on Sep 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1e5b619 - Browse repository at this point
Copy the full SHA 1e5b619View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a3484 - Browse repository at this point
Copy the full SHA d8a3484View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2411a44 - Browse repository at this point
Copy the full SHA 2411a44View commit details -
Work around react-router bug to make SSR work
`react-router` has a bug where a `<Link />` with just a query parameter in the `to` prop is treated like an absolute link, but only on the server by the `StaticRouter`. This works around the issue by transforming `<Link to="?thread" />` to `<Link to={{ search: "?thread" }} />`. Reference issue: remix-run/react-router#5488
Configuration menu - View commit details
-
Copy full SHA for 63c53ad - Browse repository at this point
Copy the full SHA 63c53adView commit details
Commits on Sep 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 45da4a4 - Browse repository at this point
Copy the full SHA 45da4a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17ca386 - Browse repository at this point
Copy the full SHA 17ca386View commit details -
Duplicate meta tags are a big no-go. Since we're now server-side rendering we can simply remove the default meta tags from the index.html to get consistent meta tags everywhere.
Configuration menu - View commit details
-
Copy full SHA for f192bd1 - Browse repository at this point
Copy the full SHA f192bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb0d44e - Browse repository at this point
Copy the full SHA eb0d44eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f31eca - Browse repository at this point
Copy the full SHA 8f31ecaView commit details
Commits on Sep 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for fd85845 - Browse repository at this point
Copy the full SHA fd85845View commit details
Commits on Sep 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1b1f08a - Browse repository at this point
Copy the full SHA 1b1f08aView commit details
Commits on Sep 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5c945fe - Browse repository at this point
Copy the full SHA 5c945feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57f2358 - Browse repository at this point
Copy the full SHA 57f2358View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6b421 - Browse repository at this point
Copy the full SHA fb6b421View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c274ab - Browse repository at this point
Copy the full SHA 1c274abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fa3f74 - Browse repository at this point
Copy the full SHA 0fa3f74View commit details -
Configuration menu - View commit details
-
Copy full SHA for e55abe8 - Browse repository at this point
Copy the full SHA e55abe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d04dc - Browse repository at this point
Copy the full SHA 11d04dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 761d1a5 - Browse repository at this point
Copy the full SHA 761d1a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6428c42 - Browse repository at this point
Copy the full SHA 6428c42View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.