-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(askem): fix Askem component infinitely reloading on article pages
parts: - don't render AskemProvider and AskemFeedbackContainer on server-side - don't update used AskemInstance except when it really changes, use deep equality to compare also: - add more fields and documentation to Askem's data using https://docs.reactandshare.com/ - pass all the Askem fields to window.rnsData - fix AskemContext and AskemProvider default import renaming typos refs HCRC-106
- Loading branch information
1 parent
f62b967
commit c4be8af
Showing
7 changed files
with
176 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { default as MatomoContext } from './AskemContext'; | ||
export { default as MatomoProvider } from './AskemProvider'; | ||
export { default as AskemContext } from './AskemContext'; | ||
export { default as AskemProvider } from './AskemProvider'; | ||
export { default as createAskemInstance } from './instance'; | ||
export { default as AskemFeedbackContainer } from './AskemFeedbackContainer'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters