Open alexeyr-ci1 opened 2 years ago
@alexeyr-ci1 SGTM
@justin808 After #1463 to avoid doing the work twice, StrictMode added some more restrictions in React 18.
... StrictMode added some more restrictions in React 18.
In bad way? Anything particular apart from twice rendering which is deliberate?
May you please elaborate on this? @alexeyr-ci1
In bad way? Anything particular apart from twice rendering which is deliberate?
No, in a good way which catches more errors, which is what we want StrictMode for.
See https://reactjs.org/docs/strict-mode.html. This should help detect more bugs in RoR.