-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazyload SmartLink to avoid loading react-router-dom + use a proper l…
…inkProperties (#1160) **Related Ticket:** follow up of follow up -_- #1159 ### Description of Changes Urg I used wrong attributes, so the previous fix didn't really fix the problem. The previous approach broke the library build too by including SmartLink, which uses react-router-dom. I think I worked around by lazy loading the component in this PR. I tested it locally but if you can, please give it another test 🙇 ### Notes & Questions About Changes ### Validation / Testing ok, this time, I actually created a preview on GHG; this is the page that uses Card component: https://deploy-preview-596--ghg-demo.netlify.app/learn
- Loading branch information
Showing
2 changed files
with
19 additions
and
13 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