function useState(initialState) {
	currentHook = 1;
	return useReducer(invokeOrReturn, initialState);
}
@template {unknown} S
@param {import('./index').Dispatch<import('./index').StateUpdater<S>>} [initialState]
@returns {[S, (state: S) => void]}