Plenti CMS Devlog: Stores for User Obj
Jantcu
This is a Dev Vlog series where Plentico maintainers work on the git-backed CMS for the Plentico project (https://github.com/plentico/plenti). We are building in public, so feel free to watch along, ask questions, or even contribute if you're so inclined.
In this video Jesse walks through the work he did on refactoring the User object so it holds information about whether the user is authenticated as well as Login and Logout functions (instead of passing these as separate props). He also updated the workflow to use Svelte stores in order for the login/logout to be seamless without requiring a hard redirect to work. It also exposes the "content" magic prop and is content editable so you can change the json and see it updated on the frontend display of the page. ... https://www.youtube.com/watch?v=nXU17hs_q7A
89318938 Bytes