gatsby
gatsby copied to clipboard
docs: add onCreateNode params and example
Description
As stated in #12665, there is a need to add both parameters specific to the APIs and examples of using the APIs. This PR adds onCreateNode params and also example of its use.
Documentation
@gatsbyjs/documentation
Related Issues
https://github.com/gatsbyjs/gatsby/issues/12665
@LekoArts is it ready for merge?