Replies: 3 comments 3 replies
-
No, you must not have 2 versions of your component. Your assumption is correct. If you now use the new folder structure with src folder, it will not run on j3. You must (may) not adapt yout code to the new folder structure, as long as J 3.x is supported. |
Beta Was this translation helpful? Give feedback.
-
That is what I was afraid of. It means I cannot refactor my component today to run on both J3 & J4 without the requirement sometime down the road that I will have to refactor again. Presumably at some point in time the coding structure that works on both versions will become deprecated and I will be forced to invest in reworking the structure and all of the potential issues a modification of that magnitude might entail. And of course all of the extra effort involved. |
Beta Was this translation helpful? Give feedback.
-
With the change to moving namespaced classes to the src directory for components, I am struggling with how this will impact a component we wish to install on both J3 & J4. I reference this PR: #27687
Are we going to have to have 2 versions of the component, one for each J version?
Will a folder structure with the src folder install properly on J3.9 or J3.10?
I believe that J4 will allow a J3 component (properly modified) to install but that still means that at some point the component will need to be restructured to match the J4 folder structure.
Am I right to be struggling with this?
Beta Was this translation helpful? Give feedback.
All reactions