r/reactjs • • Aug 28 '26

Show /r/reactjs theodore-js now supports displaying inline suggestions in the editor!

Theodore-js 2.0.0 is out and now it supports displaying inline suggestions ✨🤗

With this feature, the suggested text appears faintly within the editor; the user can accept the suggestion—turning it into part of the main text—by clicking on it or pressing a key of your choice. ⌨️ A similar feature has been implemented and used in Google AI Studio.

Inline suggestions are especially useful for presenting AI-generated text completions as users write.

👉 You can find the documentation and instructions on how to use this feature on the website: https://theodore-js.dev

📦 install from npm: https://www.npmjs.com/package/theodore-js

0 Upvotes

4 comments sorted by

5

u/plmunger Aug 28 '26

This has to be the worst lib name I have ever seen. And believe me I have seen some shit

2

u/Snoo57853 Aug 28 '26

Didn’t know people feel bad about it😅 I just wanted a name that sounds similar to Editor

-4

u/[deleted] Aug 28 '26

[removed] — view removed comment

-2

u/Snoo57853 Aug 28 '26

I haven't test but it shouldn't be downgraded. theodore performance depends on the number of nodes that it keeps in the tree, and if user writes hundrads of words without inserting a custom emoji(which caause the text broke into multiple nodes), that should not be an issue. the only perfomance issue I noticed last night was when I tried to delete a whole line by pressing delete on mobile, I saw slow down. I will fix this. If you have any benchmark, tell me and I will test the theodore under that, and fix if there is any issue.