useEffect function
Implementation
useEffect(Function()? Function() effect, [List? deps]) {
if (kDebugMode) {
print("""
[flutter_fc] useEffect is deprecated as it may cause errors
when setting parent's state while building child.
Please use "useDiff" with "addPostFrameCallback" instead.
""");
}
useDangerousAfterRebuild(effect, deps);
}