Przykład obliczony React
example custom computed hooks like vue, cek here
https://codesandbox.io/s/custom-hooks-computed-46oxt
Restu Wahyu Saputra
example custom computed hooks like vue, cek here
https://codesandbox.io/s/custom-hooks-computed-46oxt