lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Bug]: Cannot fire notification when embled SDK into react app

Open thedang opened this issue 1 year ago • 3 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

Hi, When i create app module at your lower cloud, and i want embbed into my react app. Every thing work well, expect notification , has error when show notification

image_2024_01_16T08_29_29_276Z

https://drive.google.com/file/d/17rMhbjkrNeuv9--QUEkRapU49qpTDmR2/view?usp=sharing

Here my error and sourcecode when i embbed app into react app.

`import './App.css'; import { LowcoderAppView } from "lowcoder-sdk";

function MyExistingAppPage() { return (

<LowcoderAppView appId="65a6266e5ad33e16b574095c"/>;
); }

export default MyExistingAppPage;`

Expected Behavior

Dont show error when use notification in low coder when embedded in react app or angular app.

Steps to reproduce

Please fix

Environment

No response

Additional Information

No response

thedang avatar Jan 16 '24 09:01 thedang

We have to look into it. Please mind, that we changed from React 17 > React 18. That means, that render is now differently executed / programmed. Maybe it has to do with it. https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis

FalkWolsky avatar Jan 21 '24 19:01 FalkWolsky

Ok , thanks @FalkWolsky

thedang avatar Jan 28 '24 12:01 thedang

It was a bug and will be solved with Version 2.3.2. Please excuse, that it took us so long!

FalkWolsky avatar Mar 28 '24 22:03 FalkWolsky

This is resolved now.

raheeliftikhar5 avatar May 20 '24 08:05 raheeliftikhar5