Update to React 18.3
Update codebase to React 18.3 in preparation of React 19
See React 18.3 deprecation warnings and https://react.dev/blog/2024/04/25/react-19-upgrade-guide
Presently we support React in versions ~18.2.0.
While this is OK for our internal projects I find it quite strict for general usage. Could we support more versions? What would it take?
What does @adamkudrna and @bedrich-schindler think?
We generally support 18.x. Restriction to ~18.2.0 came up from internal projects as we did not want to have deprecation warnings in clients. As we speak about this, we should have set something like >=18.0.0 && <= 18.3.0 as version 18.3.0 would result in warnings. ~18.2.0 is to restrictive. After the upgrade to 18.3, we can cagenerally support 18.x.
After upgrade to React 19, we can either support only 19.x or support both. But it would required testing with both versions.
Am I right?
Am I right? Yes, you are right.
we can either support only 19.x or support both I guess this is what I meant. I guess suppose we could support both versions if we have visual tests? Would you consider that good enough testing? I think I would.
I will accept whatever you two agree on. Go ahead.