examples/nutshell/src/index.js
function CurrentQuote() {
  const [quoteId] = useStore("quoteId")
  const [quoteLength] = useStore("quoteLengths", quoteId)

  return (
    <>
      <p>The following quote is {quoteLength} characters long:</p>
      <QuoteView quoteId={quoteId} />
    </>
  )
}
function CurrentQuote() {
  const [quoteId] = useStore("quoteId")
  const [quoteLength] = useStore("quoteLengths", quoteId)

  return (
    <>
      <p>The following quote is {quoteLength} characters long:</p>
      <QuoteView quoteId={quoteId} />
    </>
  )
}
function CurrentQuote ( ) { const [ quoteId ] = useStore ( "quoteId" ) const [ quoteLength ] = useStore ( "quoteLengths" , quoteId ) return ( < > < p > The following quote is  { quoteLength }  characters long: < / p > < QuoteView quoteId = { quoteId } / > < / > ) }
read current quoteId from Store and render
read current quoteId from Store and render