Hello kind people,
I have a piece of code that I need to abstract away in a module.
The code uses ports to save to local storage like TodoMVC example.
How can I abstract the ports code in a module?
I've searched a little bit and I've found some github repositories that have a Native folder.
Is there any documentation on this?
For people who want more concrete information, I've implemented a small snake clone part of my learning Elm project (challenge 5) and now I have to abstract the High Score functionality so that it can be used by other games.
https://github.com/pdamoc/elmChallengesThank you in advance,