React outlet vs children. But I couldn't find the corresponding docs about useEff...