Skip to content

Commit

Permalink
Fix typo (#78)
Browse files Browse the repository at this point in the history
* Fix typo
* Update Guides.md
  • Loading branch information
DreadBoy authored and potench committed Apr 11, 2018
1 parent 8278236 commit 60f6ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Guides.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Refresh vs Re-render

GPT [requires ad unit path and size to constructs an ad slot](https://developers.google.com/doubleclick-gpt/reference#googletag.defineSlot), for that reason, when `adUnitPath` or `slotSize` props change, Rect GPT destroys an old ad slot and create a new one which results in rendering a new ad.
GPT [requires ad unit path and size to construct an ad slot](https://developers.google.com/doubleclick-gpt/reference#googletag.defineSlot), for that reason, when `adUnitPath` or `slotSize` props change, React GPT destroys an old ad slot and creates a new one which results in rendering a new ad.
Additionally, when `outOfPage` or `content` props change, React GPT re-renders an ad to create a new ad slot to reflect these props.
Any other ad slot related props are reflected by [refreshing an ad](https://developers.google.com/doubleclick-gpt/reference#googletag.PubAdsService_refresh).

Expand Down

0 comments on commit 60f6ce0

Please sign in to comment.