[HN Gopher] Nice GUI
       ___________________________________________________________________
        
       Nice GUI
        
       Author : indispuesto
       Score  : 9 points
       Date   : 2022-11-21 18:43 UTC (4 hours ago)
        
 (HTM) web link (nicegui.io)
 (TXT) w3m dump (nicegui.io)
        
       | indispuesto wrote:
       | Amazing python to website framework. It is just what I was
       | looking for!
        
         | reddit_clone wrote:
         | Nice!.
         | 
         | Is it intentionally slowed down? The reaction (for example when
         | I click the checkbox) seem very slow in the demo page.
        
           | heisenzombie wrote:
           | Nope, it's doing a round-trip to the server on each
           | interaction. You can inspect the websocket and see the
           | messages. The notifications are generated by a Python
           | function running on the server, there's no client-side logic.
        
           | DangitBobby wrote:
           | I was noticing this as well. I believe it's because each ui
           | element must do a request to perform actions server-side
           | (notice how the on_click handlers are python lambda
           | functions).
           | 
           | This is probably the main drawback; you need your server to
           | be located physically close to where the UI is open or there
           | will be a very noticable delay. It's probably pretty snappy
           | when the server and browser are on the same machine, though.
        
       ___________________________________________________________________
       (page generated 2022-11-21 23:01 UTC)