Comment

Comment by abritinthebay

Only if you did that in the render function.

If you did this.foo = this.foo.bind(this, props.bar) in the constructor then it would be the same function each time.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton