-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upcoming breaking changes (v14) #748
Comments
I like it. Hope that people will update. However, I feel there are other reasons than bumping react why some projects do not get updated. To be fair, I don‘t think hooks for hocs will show meaningful performance improvements. It will make code easier to type and read for sure. |
Yeah, for the performance I mean more from the React side of things. For example less wrapping components, probably react can even further optimize things internally (just a hunch from my side). |
I would like to remove all of the usages HOCs from UI-Kit. |
Can we also make sure we include the assets renaming? 🙏 |
Short update: I've been trying to migrate the |
Short update: I tried to use react apollo hooks (#801), which are supported by the upcoming react-apollo v3 (currently in beta). This lead to having to update react to 16.9 (currently in alpha) and RTL to latest (@testing-library/react). We might decide to skip those updates in the v14 release but we will eventually need to do that in a next major (for instance, uikit should do the same). |
Hm, UI-Kit already uses the latest @testing-library/react, and it doesn't use apollo. 😕 |
Ah ok...it's also react to be updated...but anyway, as long as we keep in sync it should not matter |
I am being a bit pungent again. Should we finish the static typing story and then move on to this [working on releasing v14]. Sometimes I feel we just jump onto whatever we feel would be most fun or interesting but also beneficial. However, we should put ourselves to the same standards and ideals we communicate towards others: finish before starting. |
@tdeekens by |
Sorry, for releasing a major version of app-kit. I am all for planning it and thinking about it. Still, I wonder why we start it before we finish the static typing story. In all splitting and jumping between those "projects" just diffuses energy and effort and increases the likihood of leaving either or in a have finished state. |
Well, we need a major version of app kit to update UI-Kit though, and we have spent a lot of energy preparing for the next major UI-Kit... |
I understand your concerns about starting new things and not finishing, but we can't suffer from release paralysis. Sometimes we need to release breaking changes, and some of the time it's not even coming from the developers side, but from the designers, etc. |
It's not about breaking changes. It's about focusing in on something else started and finishing it. If this now became more important as UIKit depends on it, then that's a valid reason to not work on typing more right now. |
The static typings was something we agreed on doing "on the side", as it's not a high priority task. The v14 release is more important to finish first, as it brings more direct benefits. With that in mind, in general start finishing before starting still stands of course! |
We can also progressively (on the side if you will) migrate App Kit to hooks once the breaking change is released requiring React 16.8. 😄 |
Should we include latest RTL in this release? I don't think we can really upgrade the mc-fe separately, as the app-shell test-utils rely on a specific rtl version. |
In the next major release I would like to go with first support for hooks, which will help us to ship less and more performant code.
Therefore, we should:
>16.8.0
We can maybe do the same in the upcoming uikit v10 and release both versions together.
Also maybe upgrade RTL.
Thoughts?
>16.8
[v14] chore: bump react peer deps to >=16.8 (hooks support) #795>7
[v14] chore: require v7 for react-redux peer dep #853(check if it's worth it, otherwise deprecate it for now) remove HOCs(optional) upgrade to react-apollov3 [v15] refactor(app-shell): use react-apollo v3 #801@testing-library/react
[v14] chore: upgrade RTL to @testing-library/react v8.x #811renderProp
) [v14] chore(jest-preset): bump enzyme-extensions dep to v5 #796>10
[v14] migrate to uikit v10 #825permissions
constants to match new permissions (e.g.ManageProject
has been removed) [v14] refactor(permissions): to remove permission constants and drop ManageProject support #815storage
package [v14] Deprecate storage package #828ServicePageResponseLayout
[v14] Deprecate storage package #828The text was updated successfully, but these errors were encountered: