Some of the stuff to consider when building an AI app:
- Mermaid diagrams
- Code highlighting
- LaTex rendering
- Performance
- Displaying reasoning tool calls
- Efficient tool calls
- Regular markdown stuff
Yea, some of this for a vue or react app, but for react native app can easily be done with streamdown or the like. But for react native, nativephp or the like? There's barely anything. Mermaid uses the DOM to render stuff. Thus, you'll need a web view or to make your own rendering approach somehow. Code highlight is awkward too. Performance matters a lot too.