Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Testing Synapse React Client (SRC) in Synapse Web Client (SWC)

...

Make your changes in SRC

...

Build UMD files for SRC using pnpm build:umd

...

If you need to make changes to SRC components used in SWC and want to observe your changes, you can do so using Chrome content overrides: https://

...

Locate the synapse-react-client.production.min.js file in the Network tab and right click on the file and select Override Content

...

Go to the Sources tab in Developer Tools and go to the Overrides section. Make sure Enabled Local Overrides is checked.

  1. Screenshot 2024-12-05 at 12.14.24 PM-20241205-201427.pngImage Removed

...

right click cdn-www.synapse.org/generated or synapse-react-client.production.min.js and click open folder or containing folder respectively

...

github.com/Sage-Bionetworks/synapse-web-monorepo/tree/main/packages/synapse-react-client

...

.

...

Refresh https://www.synapse.org and the site should now be using your override file

...