Skip to content

Commit

Permalink
Add clarification
Browse files Browse the repository at this point in the history
bmatto committed Jul 12, 2024
1 parent 7968bc7 commit 7c7d7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/data-fetching.md
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ Whether you are passing data via the HubL tags or querying via GraphQL these sol

### Server Data Fetching with getServerSideProps

"Sever Data Fetching" allows developers to export a function `getServerSideProps` from their CMS React Module definition. `getServerSideProps` must return an object with a `serverSideProps` property and a `cacheConfig` property which configures caching of the module.
"Sever Data Fetching" allows developers to export a function `getServerSideProps` from their CMS React Module definition. `getServerSideProps` must return an object with a `serverSideProps` property and a `cacheConfig` property which configures caching of the module. In the React component the information returned in `serverSideProps` can be accessed via `props.serverSideProps`.

#### Dependency Helpers

0 comments on commit 7c7d7af

Please sign in to comment.