issues
search
deprecate
/
electric-base-components
⚡ UI Components for Electric
https://npmjs.com/electric-base-components
0
stars
3
forks
source link
ElectricCodeTabs: always display the same option that the user chose
#8
Open
zenorocha
opened
7 years ago
zenorocha
commented
7 years ago
When a user clicks on a code tab, here's what we need to do:
Save that information on local storage;
Re-render all code tabs on that same page with this new option;
On navigation and first page load, we read from local storage. If empty, show the first one, if not render the right tab.
When a user clicks on a code tab, here's what we need to do: