[Perchance] Required improvement's

I would like to turn attention regarding required improvements to Perchance to prevent the "bottleneck" effect (list of few from many):

  1. forcing to use javascript + HTML for whole generator makes the code run very slow and sometimes "chooking" (this includes also when using the AI assistant)

Proposed solution: For UI, instead of javascript use: React + DOM (+ optional jQuery)

  1. The agent doesn't work parallelly (asynchronous) and block the website while it work

Proposed solution: Make the agent work parallelly

  1. No support for server-side solutions, like: gRPC, Python3. etc.

Proposed solution: Implement sopport for it

I think that including above would improve much Perchance's functionality

-3 points · 3 comments · view on lemmy.world

3 Comments

breadsmasher@lemmy.world · 3 pts · 27d

instead of javascript use react and dom

my guy, what the fuck are you on about?

javascript can interact with the dom. to make a ui.

react is a javascript library. its literally making your browser run even more javascript

ccufcc@lemmy.world · 2 pts · 27d

required improvements => suggested improvements

Adventurous_Step2911@lemmy.world · 2 pts · 27d
  1. In what way would React improve performance? It's still JavaScript. I never used React, but isn't it possible to just add the script from a cdn? https://dev.to/kokaneka/react-development-using-just-a-single-file-5e65
  2. Yeah, because afaik it is actually testing what it does while the website is blocked
  3. My web dev knowledge is not elevated enough to understand what that does and why it needs to be sopported