Hacker News new | ask | show | jobs
by tcper 702 days ago
Your solution is workable, but abondon the Reactjs philosophy, use state as internal data.

And only if you are a experienced developer, new comers never know how to solve this.