The other day, I was talking to a colleague about how to generate an unique UUIID for a react component instance. I figured it could be a good idea for a blog post. So I decided to write one π ayc0.github.io/posts/consta...
ayc0.github.ioReact: how to define a constant variableWhen working with components, a use-case comes up often: computing an operation on component initial mount, and having it be fully stable across the entire lifetime of the component
0 reposts0 likes