I was wondering if it is possible to transfer data faster than using a single line for each name and value? I have noticed that if I remove the session storage then the button within the repeater becomes more responsive to wixLoctaion. I thought I could just transfer the ._id and run a query… but I have calculations on the page that need transferred, so I don’t think this solution would work.
//PAGE 1
let data = {
date: date.toUKDateString(),
PDF: courseDetailsPDF,
courseImage: courseId,
//etc...
}
local.setItem("data", JSON.stringify(data));
//PAGE2:
import {local} from 'wix-storage';
let data = JSON.parse(local.getItem("data"));