News for hackers. Stuff that matters.
Re:Show HN: Instagram like stories in React - react-insta-st... by mohitk05 on Sunday November 10, 2019 @09:04AM (#21497973)
This is an open source npm package I built for creating Instagram/Snapchat like stories in web using React. Just today I released a major update to it and I had never posted about the v1 here, so have a look! Also building a React Native version as many are requesting for it.
Re:Show HN: Instagram like stories in React - react-insta-st... by SkyTreasure on Sunday November 10, 2019 @01:27PM (#21499330)
Will be waiting for React Native version
Re:Show HN: Instagram like stories in React - react-insta-st... by gatherhunterer on Sunday November 10, 2019 @07:15PM (#21501132)
const something = function () {};

That is unlike any javascript function declaration I have ever seen. Why not just use the declaration syntax or the assignment/arrow syntax? It’s just a keyword and an operator that take up space.

Re:Show HN: Instagram like stories in React - react-insta-st... by mohitk05 on Sunday November 10, 2019 @09:26PM (#21501658)
Perfectly makes sense, thanks! I must have missed it as it was earlier export default function, will update this.