aydin-ozcan / generator-ui5-react-nest Goto Github PK
View Code? Open in Web Editor NEWNest React applications natively alongside UI5
License: Apache License 2.0
Nest React applications natively alongside UI5
License: Apache License 2.0
Hi @aydin-ozcan,
I've used the generator to create ui5-react-nest-hello-world. Unfortunately it seems that the lifecycle required to make the react app run correctly inside the launchpad isn't yet supported.
Please try this steps to replicate the issue:
In the console you will see this error:
2023-07-31 22:33:12.102699 exception when trying to close sapui5 application with id 'application-helloworldui-display'. This error must be fixed in order for FLP to operate properly.
- TypeError: lr.unmountComponentAtNode is not a function
at p.unloadApp (http://localhost:8080/ExtApp/react.js:40:57757)
at p.destroy (http://localhost:8080/ExtApp/UI5Nest.js:48:12)
at y.destroyAggregation (https://sapui5.hana.ondemand.com/1.108.19/resources/sap-ui-core.js:326:15902)
at y.destroy (https://sapui5.hana.ondemand.com/1.108.19/resources/sap-ui-core.js:326:20064)
at d.destroy (https://sapui5.hana.ondemand.com/1.108.19/resources/sap-ui-core.js:404:3433)
at u.destroy (https://sapui5.hana.ondemand.com/1.108.19/resources/sap/ui/core/Control.js:6:4343)
at y.destroyAggregation (https://sapui5.hana.ondemand.com/1.108.19/resources/sap-ui-core.js:326:15902)
at y.destroy (https://sapui5.hana.ondemand.com/1.108.19/resources/sap-ui-core.js:326:20064)
at d.destroy (https://sapui5.hana.ondemand.com/1.108.19/resources/sap-ui-core.js:404:3433)
at u.destroy (https://sapui5.hana.ondemand.com/1.108.19/resources/sap/ui/core/Control.js:6:4343)
I think this is also the reason why the app can't be started a second time. When clicking on the tile I see this error in the console:
Log-dbg.js:452 2023-07-31 22:37:07.290300 adding object "component" with duplicate id 'application-helloworldui-display-component' -
CU
Gregor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.