import * as React from "react";
import {BuildSnapshot} from "./BuildSnapshot";
import {Wrapper} from "./Wrapper";

/**
 * Container Component for BuildSnapshots.
 * 
 * @param {*} props input property containing an array of build data to be
 * rendered through BuildSnapshot.
 */
export const BuildSnapshotContainer = React.memo((props) => {
    const SOURCE = '/data';
    const [data, setData] = React.useState([]);

    /**
    * Fetch data when component is mounted.
    * Pass in empty array as second paramater to prevent
    * infinite callbacks as component refreshes.
    * @see <a href="www.robinwieruch.de/react-hooks-fetch-data">Fetching</a>
    */
    React.useEffect(() => {
      fetch(SOURCE).then(res => setData(res.json()));
    }, []);

    return (
      <Wrapper>
        {data.map(snapshotData => <BuildSnapshot data={snapshotData}/>)}
      </Wrapper>
    );
  }
);

import * as React from "react";
import {BuildSnapshot} from "./BuildSnapshot";
import {Wrapper} from "./Wrapper";

/**
 * Container Component for BuildSnapshots.
 * 
 * @param {*} props input property containing an array of build data to be
 * rendered through BuildSnapshot.
 */
export const BuildSnapshotContainer = React.memo((props) => {
    const SOURCE = '/data';
    const [data, setData] = React.useState([]);

    /**
    * Fetch data when component is mounted.
    * Pass in empty array as second paramater to prevent
    * infinite callbacks as component refreshes.
    *
    * @see <a href="www.robinwieruch.de/react-hooks-fetch-data">Fetching</a>
    */
    React.useEffect(() => {
      fetch(SOURCE).then(res => setData(res.json()));
    }, []);

    return (
      <Wrapper>
        {data.map(snapshotData => <BuildSnapshot data={snapshotData}/>)}
      </Wrapper>
    );
  }
);

Add space between comment summary and @see
Add space between comment summary and @see