Richard Scarrott

Frontend Web Developer, London

@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 3 days ago
1 commit to master
  • @richardscarrott 5702ed4
    Rename parade-billing-address.ts to parade-billing-address.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 3 days ago
1 commit to master
  • @richardscarrott 6c6e0e5
    Create parade-billing-address.ts
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 3 days ago
1 commit to master
  • @richardscarrott f65efb5
    Rename parade-contact-information.js to parade-shipping-address.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 6 days ago
1 commit to master
  • @richardscarrott 69b46e5
    Update parade-contact-information.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 6 days ago
1 commit to master
  • @richardscarrott e4f3ee2
    Create parade-contact-information.js
@richardscarrott
richardscarrott opened an issue in stripe/react-stripe-elements 9 days ago
Validate Stripe Elements without calling `createToken` #283

Summary Sorry if this is the wrong place for this but I didn't get a response over IRC and chat support was proving difficult -- I figured I'd hit …

@richardscarrott
richardscarrott commented on issue facebook/jest#6575 14 days ago

I'd be interested to know why toEqual has a special case for Error objects -- it seems so bizarre -- perhaps a legacy from jasmine? As an FYI, the …

@richardscarrott

Input mask for React, Angular, Ember, Vue, & plain JavaScript

JavaScript 6.5k Updated Dec 12

@richardscarrott

Persisted Query support with Apollo Link

TypeScript 156 Updated Dec 12

@richardscarrott
richardscarrott commented on pull request 60frames/webpack-hot-server-middleware#77 a month ago

@threehams I'll aim to look at this shortly -- sorry for the delay

@richardscarrott
richardscarrott commented on pull request 60frames/webpack-hot-server-middleware#82 a month ago

@okcoker I'll aim to look at this shortly -- sorry for the delay

@richardscarrott

@arnoldjos you could perhaps explicitly give your entry a name, e.g. entry: { server: './server/renderer.js', // or main: './server/renderer.js' }

@richardscarrott
use webpack-hot-server-middleware with typescript #81

Do you have any advice for using with typescript. Currently my start command looks like this: PORT=3600 NODE_ENV=development nodemon --watch 'src/s…

2 comments
@richardscarrott

@dagda1 I'm going to close this as I think the proxy solution is suitable -- feel free to continue the discussion here / reopen a new issue if you …

@richardscarrott

@phyllisstein it looks like you're actually creating a brand new instance of the webpack compiler for each request which comes in so even if you di…

@richardscarrott
richardscarrott closed an issue in hasura/schema-stitching-examples a month ago
[schema-extension] `city_weather` fails when selection set doesn't include `city` #1

Thanks for sharing these examples, they're v. useful! I've run into an issue within my own project which I think is also present in your schema-ext…

1 comment
@richardscarrott
richardscarrott commented on issue hasura/schema-stitching-examples#1 a month ago

So it took me a little while but I found the solution -- the resolver can define a fragment which will be added to the delegated query so you can b…

@richardscarrott
richardscarrott opened an issue in hasura/schema-stitching-examples a month ago
[schema-extension] Fails when selection set doesn't include `city` #1

Thanks for sharing these examples, they're v. useful! I've run into an issue within my own project which I think is also present in your schema-ext…

@richardscarrott
richardscarrott commented on issue apollographql/apollo-server#1100 a month ago

@todkap I'm also having the same problem using apollo-server-express v2.1.0 -- did you find a solution?

@richardscarrott
richardscarrott commented on issue apollographql/react-apollo#615 a month ago

@mhaagens but how do you handle the errors in your components?

@richardscarrott
richardscarrott commented on issue apollographql/react-apollo#1403 a month ago

@gabriel-miranda did you find a solution to this? Currently the only solution I can see is to handle errors differently on the server vs client, e.g.

@richardscarrott

DEPRECATED: Create React apps using typescript with no build configuration.

JavaScript 3.7k 3 issues need help Updated Dec 12

@richardscarrott
richardscarrott commented on issue FormidableLabs/nuka-carousel#388 2 months ago

@cadday I wondered the same -- but I was hoping it would compute the slidesToScroll based on the size of the container / viewport. That way you wou…

@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 2 months ago
1 commit to master
  • @richardscarrott e158b5f
    Update follow-rel-prev.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 2 months ago
1 commit to master
  • @richardscarrott 33f74cf
    Update follow-rel-next.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 2 months ago
1 commit to master
  • @richardscarrott ada6f57
    Create follow-rel-prev.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 2 months ago
1 commit to master
  • @richardscarrott 061caa1
    Create follow-rel-next.js
@richardscarrott
richardscarrott commented on pull request richardscarrott/snippets#32 2 months ago

@bsawyer thanks for the PR, I'll do my best to review it when I get some time -- it might not be for a little while but it's on my radar!