<script lang="ts">
	import { Notes } from '@components'
</script>
<Notes>
    <ul>
        <li>
            useState hooks allows to have state variable inside a FUNCTIONAL COMPONENT
        </li>
        <li>
            useState ENCAPSULATES only a single value
        </li>
        <li>
            For mulatiple values you may need to call multiple useState's
        </li>
        <li>
            useState arguments
            <ul>
                <li>
                    Initialization of a state variable
                </li>
                <li>
                    Passing function as initial value - to calculate an initial value
                </li>
            </ul>
        </li>
        <li>
            Managing multiple states
            <ul>
                <li>
                    Multi-variable's
                </li>
                <li>
                    Object as value
                </li>
            </ul>
        </li>
    </ul>
</Notes>