I have a Modern sharepoint online list with 2 views. Is it possible to create 2 button to change the view "on the fly"? either json or via ClientSideExtension.ListViewCommandSet.CommandBar or is there an other way. I know I can create to links but that would reload the page and is to slow.
Thanks Denis now i know React debug :)
It looks like the change view "button / menu" is a
customizedcommandbarbutton see picture, but i cannot find what it does. Because it is rather easy to make command bar buttons.