This article give a nice headstart.
Jeet Prakash
1

I think window.localStorage can help.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.