Allow Trace effect inside React methods