Closed dmotan closed 3 years ago
Fixed the code to eliminate this warning: warn Calling "touchNode" with an object containing the nodeId is deprecated.
warn Calling "touchNode" with an object containing the nodeId is deprecated.
This also helps with building on Netlify, without this change, Netlify does not use the cache properly. See https://github.com/gatsbyjs/gatsby/blob/41f0ce7ad5010b94c635ad9a08a7f4c4ba564df7/packages/gatsby/src/redux/actions/public.js#L904-L939 for reference.
Fixed the code to eliminate this warning:
warn Calling "touchNode" with an object containing the nodeId is deprecated.
This also helps with building on Netlify, without this change, Netlify does not use the cache properly. See https://github.com/gatsbyjs/gatsby/blob/41f0ce7ad5010b94c635ad9a08a7f4c4ba564df7/packages/gatsby/src/redux/actions/public.js#L904-L939 for reference.