# Example 3: Counters
Showcasing local and global state: The local state of the counter
components doesn't change when moved inside one grid, but is cleared when
moved to another. The global state is in the data
attribute
of each item and gets transferred as well. Both grids also have custom
highlights.