React Conditional Use Effect Practice Permit