why even events and not just the CSS ::hover selector?
sure
/wdg/ - Web Development General
hope it helped
>why even events and not just the CSS ::hover selector?
It's a canvas with complex fancy stuff on it and it takes some logic to identify what is the hover target, whether it's a valid hover target, and what should go into the tooltip. I pack all that up into an event and send it off to the parent.
ah alright,
then since you want a delay I guess it's better to emit the event after the timeout, otherwise you might emit events unnecessarily in case the element gets hovered but then the mouse moves somewhere else again.
Yeah that makes sense, thanks.
I'm going to try React Hooks in my new project after being a Redux user for quite some time now, wish me luck.
Is Pluralsight worth it lads? I am an intermediate level front-end developer and would like to reach advanced level.
Thank you
Any continuous delivery people here? How does it work with two pipelines? Let's say you write some front end code that requires new back end code to work. You have one pipeline for front end code and another pipeline for back end code.
You push your front end code, but not your back end code. Your front end code passes all tests, because it's not using the real back end, but if you deploy it, the front end code won't work because the back end code isn't ready.
Oh, could you use feature flags for this? You just keep the feature turned off until after you push your back end code? What do your companies do to handle this problem?
feature flags are great. integration tests too.
write tests. not too many. mostly integration.