Sorry, we don't support your browser.  Install a modern browser

Best practices for ReactJS integration?#23

Any suggestions our sample apps/repos on how to inject your snippets into a ReactJS project?

a year ago

You can take a look at our recently released react component here: https://github.com/announcekitapp/announcekit-react

a year ago

cool, thanks.

a year ago

put that in your docs.

a year ago

Awesome thank you!

a year ago

Just tried the react component, my text is not clickable and the badge doesn’t show up. Is there a delay on updating the announcekit messages or something on your end?

a year ago

I was hoping to get this working today. Your code is buggy. When will it be fixed?

a year ago

@sgehrman I think you have implementation problem there. Here is more detailed tutorial how to include a ReactJS component into your apps. https://announcekit.app/docs/reactjs.

This is the demo link of same sample code that we use.
https://codesandbox.io/s/announcekit-react-demo-l448e

a year ago
?

The problem seems more complex as it did work for me randomly, then it just stops working. Make a real test react website project and test that. There’s nothing I could have done wrong, and it does work randomly, so it is working, it’s just not working all the time.

a year ago

The only reason that widget would not work is, if you specify incorrect type of widget when you initialize the script or module.

For example, if you try to setup float type widget as badge/line widgets, it will not work.

a year ago
?

Latest version works, problem solved. Thanks!

a year ago
1
Changed the status to
Completed
a year ago