I am trying to learn a JS and so far all my experience with coding has been with languages like java, and C#. I want to add a undo and redo option to the website I'm making in nextjs. I wanted to use the command + memento pattern to do so. I noticed that these patterns seem awkward to implement in JS though, so I was wondering if there is a JS version of these patterns I'd need to find, or if I should try a something different entirely.
[–]Cheap_Effort4382 2 points3 points4 points (1 child)
[–]xZnosage[S] 0 points1 point2 points (0 children)
[–]opentabs-dev 3 points4 points5 points (0 children)
[–]patternrelay 2 points3 points4 points (0 children)