A page is created by calling the createPage action. There are three main side effects that occur when a page is created.
pagesRedux namespace is updated
componentsRedux namespace is updated
onCreatePageAPI is executed
pages Redux namespace is a map of page
path to page object. The pages reducer takes care of updating this on a
CREATE_PAGE action. It also creates a Foreign Key Reference to the plugin that created the page by adding a
components Redux namespace is a map of componentPath (file with React component) to the Component object. A Component object is the Page object but with an empty query string (that will be set during Query Extraction).