Replace REPOSLUG with your repo slug.
cp test/.env.example test/.env
npm i
npm run dev
open http://localhost:3000/
npm run build
npm run deploy
Goto https://app.keycdn.com/zones/purgeurl/$id and enter:
/s3/republik-assets/dynamic-components/REPOSLUG/index.js
If you change asset files be sure to purge those too.