top | item 41893139

(no title)

delanyoyoko | 1 year ago

Why will I use !browser, when I simply move that code into .server endpoint (or file)?

discuss

order

sureglymop|1 year ago

Because then you are doing a different thing than I did there.

The universal load function specifically not only injects the data on the server before serving the page but then also runs on the client once the page is loaded.

In my specific case the client side version hit a different api, hosted in a different region. There are different use cases for this though.