Richard Scarrott

Frontend Web Developer, London

a day 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 days 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 days 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…

3 days ago
a month ago
@richardscarrott

@klis87 Perfect, thanks!

a month ago
@richardscarrott
  • @klis87 585b4c7
    Mentioned serverSideRender to webpackDevMiddleware config in Readme (…
a month ago
@richardscarrott
Mentioned serverSideRender to webpackDevMiddleware config in Readme
1 commit with 9 additions and 3 deletions
a month ago
@richardscarrott
TypeError: serverRenderer is not a function on initial page load
a month 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…

a month 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…

a month ago
@richardscarrott

@mohsen1 Yeah, I don't really want to complicate the example but could add a link to this PR in the README under https://github.com/60frames/webpac…

a month ago
@richardscarrott

@klis87 Thanks for putting together that repo, I'm planning on taking a look at it this week.

a month ago
@richardscarrott

@mohsen1 thanks for sending this PR. I like the idea of presenting something to the client whilst webpack is compiling, however I'm not sure if thi…

2 months ago
@richardscarrott

One problem I have noticed when hacking something together with koa is that webpack-dev-middleware is responding with a 404 when requesting static …

2 months ago
@richardscarrott

@eudaimos the error and serverRenderer should always be the latest values because the handler is wrapped in a function which re-creates the handler…

2 months ago
@richardscarrott

@DylanPiercey you'll need to apply the plugin to the the multi compiler returned from webpack, e.g. https://github.com/60frames/react-boilerplate/b…

2 months ago
@richardscarrott

@cescoferraro I've not tried webpack 3 yet but file watching is handled by webpack itself which provides an option to debounce here -- https://webp…

2 months ago
@richardscarrott

@eudaimos thanks for taking a look into this -- I agree, this package doesn't really need to be tied to a particular middleware style as the only d…

2 months ago
@richardscarrott

Also, inline-source-maps should work -- 60frames/webpack-hot-server-middleware#15

2 months ago
@richardscarrott

@faceyspacey I've used 'source-map' in the webpack-hot-server-middleware example and 'eval' in this boilerplate, both are working for me. Not tried…

2 months ago
@richardscarrott
RIchard, i gave you props throughout my various releases today
2 months ago
@richardscarrott

@faceyspacey awesome, great article, I'm planning on digging into your various packages in more depth once I find the time, keep up the good work!

2 months ago
@richardscarrott

@klis87 I remember seeing this line in webpack dev server and not really following what could cause that code path so I'm guessing that's what's ha…

2 months ago
@richardscarrott

@klis87 Well spotted, thanks!