Clean solution - React, SCSS, BEM (but not optimized for mobile!)
My React solution using two stacks. Wrapper component is main source of context. CSS could have been executed better with conditional rendering/styling. An optimization can be done using a queue instead of applying the O(N) operation of `.reverse()` when rendering the history.
Requested feedback
Any runtime optimizations, component modularity/architecture improvements, CSS tips and tricks, etc. Anything will help me become a god 🙏 🙏 🙏
Comments
You must be signed in to post a comment