const { ref: bottomRef } = useInView({ initialInView: false, threshold: 1, onChange: (inView) => { // 보이면 true // 안보이면 false if (inView) loadMoreItems(); }, });