Is there a way to use ReactJS UI components in Appian?
Discussion posts and replies are publicly visible
You cannot. Unless you get a plugin created for it using Appian's JS libraries and then use it. Or you can use web views to some extent but it won't support exchange of data