Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue-157-autoReload-using-original-values #226

Conversation

daraclare
Copy link
Contributor

@daraclare daraclare commented Jun 14, 2021

Related to issue #157

The targeting values were set correctly, but not updated correctly for client side rendering, only worked with a full page refresh.

The registeredSlots were sent on refresh with the original values rather than the new targeting values.

Also, the DFPManager.refresh was refreshing using registeredSlots[slotId].gptSlot rather than registeredSlots[slotId].slotId

@jaanauati could you let me know if you're happy for this to go ahead? Thanks!

@jaanauati
Copy link
Owner

@daraclare this makes sense, i'll try to get this tested and merged within the following days. Thank you.

@jaanauati
Copy link
Owner

@daraclare i'm sorry abt the delays on this, I'm struggling with some CORS errors when trying to test this locally:

image

This is also happening with master so it's unrelated to your changes.

@jaanauati
Copy link
Owner

LGTM

@jaanauati jaanauati merged commit ade4f3b into jaanauati:master Jul 4, 2021
@jaanauati
Copy link
Owner

This has been pushed to npm. See v0.21.0. Thank you.

sectsect added a commit to sectsect/react-dfp that referenced this pull request Apr 18, 2022
sectsect added a commit to sectsect/react-dfp that referenced this pull request May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants