old_contents: import React from "react"
  import { storiesOf as _storiesOf } from "@storybook/react"
  import { Boot } from "Router/Boot"
  
  const bootProps = {
    mediator: x => x,
  }
  
  export function storiesOf(desc, mod) {
    return _storiesOf(desc, mod).addDecorator(storyFn => {
      return <Boot {...bootProps}>{storyFn()}</Boot>
    })
  }
  
new_contents: import React from "react"
  import { storiesOf as _storiesOf } from "@storybook/react"
  import { Boot } from "Router/Boot"
  import track from 'react-tracking'
  import Events from "../Utils/Events"
  
  const bootProps = {
    mediator: x => x,
  }
  
  export function storiesOf(desc, mod) {
    return _storiesOf(desc, mod).addDecorator(storyFn => {
      return <Boot {...bootProps}>{storyFn()}</Boot>
    })
  }
  
  // Wrap publishing sub-component stories so tracking events log
  @track({}, {
    dispatch: data => Events.postEvent(data)
  })
  class PublishingBoot extends React.Component {
    render() {
      return this.props.children
    }
  }
  
  export function storiesOfPublishing(desc, mod) {
    return _storiesOf(desc, mod).addDecorator(storyFn => {
      return (
        <PublishingBoot>
          {storyFn()}
        </PublishingBoot>
      )
    })
  }
  
subject: add storiesOfPublishing for tracking logging