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

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 months ago (1 child)
  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
  • source
  • hideshow 1 child comment
  • [–] [S] 1 point 1 week ago

    Hello. Even if React is based on (and inspired with) javascript, there significant syntax and functionality differences, like among others (given for example propouses):

    • you need to create long code to achive fully functional, dynamic and fully responsive website

    • you can build each component like an separate and multi-reusable block that you can use in a very easy way anywhere, without creating many lines of code (you need just to import the component and add a XML alike tag to use it

    • in React you have possibility to direct embeded HTML code

    • all changes are applied immediatelly, without need to refresh/reload of the page

    1. all content is fully dynamic
  • source
  • parent