import { useEffect } from 'react';

const {{pascalCase name}} = () => {
  useEffect(() => {
    // write here the after-mount effects
    // e.g. make API call, update store/context/state etc
  }, []);

  return <div>{{pascalCase name}}</div>
};

export default {{pascalCase name}};
