app-monorepo icon indicating copy to clipboard operation
app-monorepo copied to clipboard

fix: fix the issue where the page background color is always white after using lazyLoad

Open huhuanming opened this issue 1 year ago • 2 comments
trafficstars

huhuanming avatar Feb 21 '24 09:02 huhuanming

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

codesandbox[bot] avatar Feb 21 '24 09:02 codesandbox[bot]

PR Summary

  • Enhanced words exclusion for spell-checker compat and replacer words were added in the skip list for the spell-checker feature, to prevent unnecessary error flags on them.

  • Import services for QR code scanning A module enabling the QR code scanning services was imported in the file BackgroundApiProxy.ts.

  • Broad implementation of LazyLoadPage component The former LazyLoad component prevalent in several parts of our application is being replaced by the more efficient LazyLoadPage component. This replacement was done in numerous files including but not limited to AddressBook/router/index.tsx, Modal/Discovery.tsx, AccountManagerStacks/router/index.tsx, AddressSelector/router/index.tsx, AssetSelector/router/index.ts, and many more. This streamlines the page loading process and could improve the overall user experience.

  • Absence of memo in specific component In the component structure of Portal.tsx, the memo import from the React library was removed for achieving simplified and efficient component rendering.

  • Enriching QR Code scanning capabilities Improved functionality of the QR Code scanning feature through importing and implementing ServiceScanQRCode in BackgroundApiProxy.ts. This will enhance the user experience by providing a seamless QR code scanning procedure.

what-the-diff[bot] avatar Feb 21 '24 09:02 what-the-diff[bot]