Comment

Comment by zevyoura

You can partially apply the function where you know the parameter; i.e. assign onDelete to: this.handleDelete.bind(this, i)
parent zevyoura 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton