I already build what I intend to make. But, can someone tell me, is there a better way to do this? Is there a way to make this more clean or effective?
Here the CodeSanbox: https://codesandbox.io/s/5ovwpr4mp
Thanks.
I already build what I intend to make. But, can someone tell me, is there a better way to do this? Is there a way to make this more clean or effective?
Here the CodeSanbox: https://codesandbox.io/s/5ovwpr4mp
Thanks.
It was great effort. I would suggest you the followings
I will try to do it later.
And, may I ask for your opinion? Is there a better way to handle the data when prev / next is clicked? I just don’t like to see many repetitions in my code.
Thanks.
Sorry for replying you late. Yeah the simplest way could be put 2 buttons each for next and prev , and iterate between the data list that you already have it. OR try to encapsulate third party navigation bar.