This is an example about a block that gets data from the journeys and send data back, it is built using React and React to Web Component
npm install --force
npm start
The app is a react component exported as a standard web component, it will get the needed props of value and set value. it will pass around the value as an object
Configure your custom block in the Journey Builder for local development:
Point Bundle URL to http://localhost:3000/static/js/bundle.js
and use the Tag name counter-block
as configured in ./src/index.tsx
In the Args section, add the following key-value pairs: person, anyname