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

  • breadsmasher@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    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

    • mcgiwer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 days 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