Donald Davis 1 Month Ago - Edited Hi David, Are you saying that we can not use React 19 in an lnbs bundled portlet? I am able to use lnbs to build and deploy portlets created with the latest create-react-app as well as upgrading React 18 portlets by updating the index.js or index.ts with the proper code. Thanks for your response. Please sign in to reply. Reply as... Cancel David H Nebinger Donald Davis 1 Month Ago - Edited No, you are free to use React 16, 18, or even 19. There's no restriction on React version that Liferay will enforce. Personally, though, I have it in my head it is not a great idea to load two copies of React into the browser at the same time (although I have zero evidence to show that bad things actually happen if you do). It is simply because of that belief that I recommend using Liferay's version of React, so totally opinion. Please sign in to reply. Reply as... Cancel
David H Nebinger Donald Davis 1 Month Ago - Edited No, you are free to use React 16, 18, or even 19. There's no restriction on React version that Liferay will enforce. Personally, though, I have it in my head it is not a great idea to load two copies of React into the browser at the same time (although I have zero evidence to show that bad things actually happen if you do). It is simply because of that belief that I recommend using Liferay's version of React, so totally opinion. Please sign in to reply. Reply as... Cancel