Jhey Tompkins
1 min readJan 22, 2019

--

Hey Giacomo Sorbi đź‘‹

That’s correct. As it’s such a small example, the optional parameter is a little redundant in this case 👍

I’ve added a note to state it runs every time. On top of that I’ve put in another example with multiple stateful values to show how it would only run when color changes 👍

Thanks!

--

--

Jhey Tompkins
Jhey Tompkins

Written by Jhey Tompkins

I make awesome things for awesome people!

Responses (1)