Richard Scarrott

Frontend Web Developer, London

3 days ago
@richardscarrott
  • @pho3nixf1re db26bca
    Allow a custom server handler to wrap the server renderer. (#40)
3 days ago
@richardscarrott
Allow a custom server handler to wrap the server renderer.
3 commits with 105 additions and 17 deletions
21 days ago
@richardscarrott

@pho3nixf1re I tried this out in a koa server using express-to-koa w/ webpack-dev-middleware (v1.12.0) but I'm still seeing it return a 404 as show…

25 days ago
@richardscarrott

@pho3nixf1re apologies for the slow response, I've been away on holiday and plan to look over this peroperly on the weekend. Thanks for the PR.

a month ago
@richardscarrott
Improve API DX
a month ago
@richardscarrott
Improve API DX
a month ago
@richardscarrott

@monteiz I recently implemented webpack-hot-server-middleware on another project where the api was reasonably substantial so we needed live reload. T…

a month ago
@richardscarrott
Remove webpack root resolve
a month ago
@richardscarrott
Use prettier without eslint
2 months ago
@richardscarrott

@abritinthebay I'm pretty certain your use-case is supported already as the native Date object defaults to the users timezone, e.g. // Assuming thi…

2 months ago
@richardscarrott

tbh I've never really seen the appeal of the html-webpack-plugin as it's not particularly difficult to take the webpack stats and render html but I…

2 months ago
@richardscarrott

@amangeot I'm not sure I want to promote passing the compiler to the serverRenderer because I can imagine people relying on it, then realising they…

2 months ago
@richardscarrott

@kyusu good catch... it also looks like history is undefined. There doesn't appear to be much in the way of documentation for renderProps in the RR…

2 months ago
@richardscarrott

@masad-frost that link doesn't seem to work... I tried out the master branch however and can't reproduce that error, even when removing npm run bui…

2 months ago
@richardscarrott

@kyusu ah yes, this is because react-router is mocked within src/__mocks__/react-router.js so Link and Router actually just export the string 'Link…

2 months ago
3 months ago
3 months ago
@richardscarrott

@klis87 Perfect, thanks!

3 months ago
@richardscarrott
  • @klis87 585b4c7
    Mentioned serverSideRender to webpackDevMiddleware config in Readme (…
3 months ago
@richardscarrott
Mentioned serverSideRender to webpackDevMiddleware config in Readme
1 commit with 9 additions and 3 deletions
3 months ago
@richardscarrott
TypeError: serverRenderer is not a function on initial page load
3 months ago
@richardscarrott

@mohsen1 I did some investigation into this using @klis87 repo #27 It turns out #27 is caused by the use of publicPath, I'm therefore going to reco…

3 months ago
@richardscarrott

@klis87 I've had a look into your example repo and the key difference with my setup is the use of publicPath. I've confirmed it fails to wait for t…