react-home-harmony

Home Harmony React

Usage no npm install needed!

<script type="module">
  import reactHomeHarmony from 'https://cdn.skypack.dev/react-home-harmony';
</script>

README

react-home-harmony

Home Harmony Web SDK

In a project, to get started call the following in the index.tsx

// Get upload and segment URLs from env vars (defined in .env.*)
cbInitialize({
    directUploadUrl: process.env.REACT_APP_CB_DIRECT_UPLOAD_URL,
    getUploadUrlsUrl: process.env.REACT_APP_CB_GET_UPLOAD_URLS_URL,
    uploadUrl: process.env.REACT_APP_CB_UPLOAD_URL,
    segmentUrl: process.env.REACT_APP_CB_SEGMENT_URL
})

To update, this will auto increment the version number and publish to npm

npm publish