C
C#12mo ago
Exi

BlazorServer Saving TabData from different tabinstances

Heyo, I'm having a blazorserver app and you're able to switch between different tabs (loading different components). Now I'm thinking about ways to save the data (temporary userinput without saving to persist) to keep that in cache in case the user switches between tabs. basically like the browsers does - he starts to fill some forms and switches to another tab to check something and then back to the first tab and continues where he left (without starting from the beginning). how would you usually realize that? could also happen, that he opens the same component in multiple tabs. I thought about working with localstorage and adding unique guid each tab / instance, but are there better ways? Thanks for your input and sorry for my english^^ Exi
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server