r/reactjs • u/organ1c_stupidity • Sep 21 '26
Show /r/reactjs Show: jev-ui — model-selected components for React
I’m building jev-ui, a React library for an AI-UI problem I kept running into: choosing which existing component to render.
You give the model an allowed set of components. Instead of only returning one opaque choice, jev-ui preserves the probability distribution across the options, then renders the winner. The goal is to make model-selected UI easier to inspect, add deterministic fallbacks to, and debug when two choices are close.
I’m looking for critical feedback on the idea and API:
- Is exposing selection probabilities useful in a React app?
- Where would you expect a fallback or confirmation step?
- What would make this trustworthy enough for production use?
Repo: https://github.com/etweisberg/jev-ui
Demo/docs: https://docs.jev-ui.dev/
View all comments
Show parent comment
2
u/Honey-Entire Sep 22 '26
I’m going to present an equivalent scenario that will probably go over your head, butt fuck it, I’m feeling spicy:
1 - AI-driven comedy is important
2 - Jev is better than using an LLM to write comedy on the fly
It’s a really simple project, you just say how hard you want to laugh and Jev handles the rest. No more thinking, no more effort, just gut-wrenching laughter until you keel over!