I have created a carousel using SPFx web part with react. My react version is 15.6.2 and solution selected is SharePoint 2019 onwards, including SharePoint online.
I need to display Thumbnail images which are supported only by latest versions of react (v16 and above). Upgrading to latest version fails to load my workbench displaying below errors in console.
***Failed to load component "fe735b47-53a5-4b5f-98ae-6ce4c3d2fce0" (HelloWorldWebPart). Original error: ***Failed to load URL 'https://localhost:4321/node_modules/react/dist/react.js' for resource 'react' in component 'fe735b47-53a5-4b5f-98ae-6ce4c3d2fce0' (HelloWorldWebPart). The file was not found in the server. Make sure that you are running 'gulp serve'.
Old versions does not support thumbnails.
I have tried multiple approaches of displaying thumbnail images below carousel but all require latest version of react. Is there any solution to this ?