
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@guardian/braze-components
Advanced tools
A library of React components for displaying Braze messages on DCR and frontend.
$ bin/setup
We use Storybook when building components. Run Storybook with:
$ yarn storybook
The Grid image picker integration in Storybook requires auth. If necessary you'll be redirected to the gutools login service. When developing, this means running the login service locally. Often when developing you won't need to use the image picker. In this case you can skip auth entirely by running Storybook like this:
$ STORYBOOK_DISABLE_AUTH=true yarn storybook
This means you won't need to run the login service locally.
Use yarn link to develop against a locally checked out version of this
library:
In your local checkout of @guardian/braze-components:
$ yarn link
And then in the project consuming the client (e.g. DCR/frontend):
$ yarn link "@guardian/braze-components"
To revert back to using the published version of the package:
$ yarn unlink "@guardian/braze-components"
$ yarn install --force
NOTE:
Ensure you build this library before adding it locally to your project,
by running yarn build. You can also use yarn watch to build automatically
when the source code is changed.
The external project (e.g. DCR/frontend) may not be set up to watch changes from linked modules. Removing: ignored: /node_modules/, from watchOptions in frontend will enable make watch (in frontend) to also track changes to braze-components.
You'll need to be part of the @guardian NPM org. Ask someone to add you if you're not already.
$ yarn release
This will:
Whenever you push to GitHub actions will be triggered to run Jest tests, the
TypeScript compiler etc. A TeamCity build will also be triggered. On the main
branch if the TeamCity build is successful Riff Raff will deploy Storybook to
https://braze-components.gutools.co.uk.
FAQs
React components to render messages from Braze
The npm package @guardian/braze-components receives a total of 1,825 weekly downloads. As such, @guardian/braze-components popularity was classified as popular.
We found that @guardian/braze-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.