HackerTrans
TopNewTrendsCommentsPastAskShowJobs

trylist

no profile record

comments

trylist
·8 個月前·discuss
This is childish thinking. Whatever we do, we cannot go back to "before". Which "before"? How do we go back?

You can't regress back to a being a kid just because the problems you face as an adult are too much to handle.

However this is resolved, it will not be anything like "before". Accept that fact up front.
trylist
·10 個月前·discuss
I like how the product image is um... well-used.
trylist
·10 個月前·discuss
I remember solving this problem before. These are both global components, so you create a single global instance and control them with a global context or function.

You basically have a global part of the component and a local part. The global part is what actually gets rendered when necessary and manages current state, the local part defines what content will be rendered inside the global part for a particular trigger and interacts with the global part when a trigger condition happens (eg hover timeout for a tooltip).