[HN Gopher] Blitz: A Fullstack React Framework, Built on Next.js
       ___________________________________________________________________
        
       Blitz: A Fullstack React Framework, Built on Next.js
        
       Author : modinfo
       Score  : 11 points
       Date   : 2021-06-06 09:52 UTC (13 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | weavie wrote:
       | So, this is a framework on top of a framework on top of a
       | framework?
        
       | pixel_tracing wrote:
       | Hmm forgive my ignorance but isn't having server side code in the
       | client side a high risk security vulnerability?
        
         | lioeters wrote:
         | If I understand correctly, there's some magic involved during
         | compilation, to replace such server-side code imported by the
         | frontend with an API call.
         | 
         | > The new Blitz data layer is a novel technology for
         | eliminating the API while retaining client-side rendering.
         | 
         | > In a Blitz app, you can import your server code directly into
         | the frontend so you don't need to build an API and do data
         | fetching from the frontend.
         | 
         | > At build time, Blitz automatically inserts an API call that
         | runs the server code on the server. Essentially, Blitz
         | abstracts your API into a compile step.
        
       ___________________________________________________________________
       (page generated 2021-06-06 23:01 UTC)