1. 26 Feb, 2017 8 commits
    • Guillermo Rauch's avatar
      Release 2.0.0-beta.33 · 8399ea70
      Guillermo Rauch authored
      8399ea70
    • Arunoda Susiripala's avatar
      Implement "on demand entries" (#1111) · d3b1ead1
      Arunoda Susiripala authored
      * Add a plan for dynamic entry middleware.
      
      * Use dynamic pages middleware to load pages in dev.
      
      * Add the first version of middleware but not tested.
      
      * Integrated.
      
      * Disable prefetching in development.
      Otherwise it'll discard the use of dynamic-entries.
      
      * Build custom document and error always.
      
      * Refactor code base.
      
      * Change branding as on-demand entries.
      
      * Fix tests.
      
      * Add a client side pinger for on-demand-entries.
      
      * Dispose inactive entries.
      
      * Add proper logs.
      
      * Update grammer changes.
      
      * Add integration tests for ondemand entries.
      
      * Improve ondemand entry disposing logic.
      
      * Try to improve testing.
      
      *  Make sure entries are not getting disposed in basic integration tests.
      
      * Resolve conflicts.
      
      * Fix tests.
      
      * Fix issue when running Router.onRouteChangeComplete
      
      * Simplify state management.
      
      * Make sure we don't dispose the last active page.
      
      * Reload invalid pages detected with the client side ping.
      
      * Improve the pinger code.
      
      * Touch the first page to speed up the future rebuild times.
      
      * Add Websockets based pinger.
      
      * Revert "Add Websockets based pinger."
      
      This reverts commit f706a49a3d886d0231259b7a1fded750ced2e48f.
      
      * Do not send requests per every route change.
      
      * Make sure we are completing the middleware request always.
      
      * Make sure test pages are prebuilt.
      d3b1ead1
    • greenkeeper[bot]'s avatar
    • Tim Neutkens's avatar
      Remove traces of glamor (#1286) · 408633c1
      Tim Neutkens authored
      * Remove traces of glamor
      
      As talked about with @rauchg. Glamor takes up around 60KB of the bundle (pre-gzip). Since styled-jsx is the way to go now and we support adding glamor by the user we should remove it as dependency cause it is bundled even when not used.
      
      Added rehydration to the example, since we did that in our code.
      
      There is only one thing I'm not sure about and want to discuss:
      what should we do with next/css. Right now I added a throw for when it is imported. I'm not sure if we should do that / some other way to notify the user it has been removed. The reasoning behind the throw is that when we would do a console.warn the user would see 'css.default.<X>' not found because we don't have the glamor dependency anymore.
      
      * Update yarn.lock
      
      * Remove test for styles
      408633c1
    • Guillermo Rauch's avatar
      ponify (#1278) · 1417f304
      Guillermo Rauch authored
      1417f304
    • Guillermo Rauch's avatar
      bump unfetch · bb526fdf
      Guillermo Rauch authored
      bb526fdf
    • Guillermo Rauch's avatar
      e7c85e01
    • Arunoda Susiripala's avatar
  2. 25 Feb, 2017 4 commits
  3. 24 Feb, 2017 2 commits
  4. 23 Feb, 2017 3 commits
  5. 22 Feb, 2017 2 commits
  6. 21 Feb, 2017 8 commits
  7. 20 Feb, 2017 2 commits
    • Guillermo Rauch's avatar
      Release 2.0.0-beta.32 · c8665406
      Guillermo Rauch authored
      c8665406
    • Arunoda Susiripala's avatar
      Handle BUILD_ID mismatch error (#1224) · 0bd250f4
      Arunoda Susiripala authored
      * Reload the page if the buildIds are mismatch.
      
      * Reload the browser with main.js and commons.js buildId mismatch.
      
      * Implement proper reloading with an API to persist the state.
      
      * Add some tests for force reload.
      
      * Change _reload to _forceReload.
      
      * Add a section about reload hooks to the README.
      
      * Allow to add a hook to handle BUILD_ID mismatch.
      
      * Remove readme docs.
      
      * Do not show a custom error to the user.
      
      * Cancel the routing when there's a BUILD_ID mismatch.
      
      * Fix a typo.
      
      * Passing route to SingletonRouter.onBuildIdMismatch
      
      * Handle buildId mismatch automatically.
      0bd250f4
  8. 19 Feb, 2017 2 commits
  9. 18 Feb, 2017 7 commits
  10. 17 Feb, 2017 2 commits