Dave Stockley

Results 41 comments of Dave Stockley

It still needs to be initialised when the window/document is available. ```javascript function useFontManager( apiKey: string, props: Partial, options: Options, ) { const [fontManager, setFontManager] = React.useState() React.useEffect(() => {...

@bacloud22 do you know of any alternatives.

I've opened a PR that fixes this issue tested locally with nextjs + my own hook, based on the react lib https://gist.github.com/magicspon/7e9c7283240b9d8a093ff0ae29c07a25

Hello, ``` [Compile Error] Unexpected token (4:20367) in /Users/magicspon/websites/mudstone/node_modules/smooth-scrollbar/dist/smooth-scrollbar.js ``` I'm afraid that is the entire error message I get. I made a clone of this repo, ran `npm run...

@fvanwijk If you're using jest you can add a testUrl option: ``` "jest": { "testURL": "http://localhost:3000/", "setupFiles": ["/setup-jest.js"], "mapCoverage": true, "collectCoverageFrom": ["src/js/core/**/*.{js,jsx,ts,tsx}"], "testMatch": ["**/?(*.)(spec|test).js?(x)"] }, ``` ![screen shot 2018-06-04 at...

Hello, Have you made any more progress with this? Super keen to have a play with gatsby integrated with craftcms. cheers

I think this can be closed now.... 'gatsby-source-graphql' works like a charm. ```javasscript { resolve: 'gatsby-source-graphql', options: { fieldName: 'craft', typeName: 'Craft', url: 'https://yoursite.com/api', headers: { Authorization: 'bearer wibblewibble' }...

hey @markhuot , thanks for the heads up. I've been using gatsby-source-graphql with craft/craftql and it's been pretty seamless, how does this differ? ta

Yup.. I've been using the official one.

@swthate did you have any joy updating Mamp? I also have the same issue when running crafql locally, works perfectly well on a digital ocean droplet.