cbdeveloper (@_cbdeveloper) header
cbdeveloper (@_cbdeveloper) profile picture
Joined January 2019
Photo by cbdeveloper (@_cbdeveloper)Photo by cbdeveloper (@_cbdeveloper)
Is it a bad practice to call an API endpoint to increment a pageView counter from a useEffect? React Strict Mode calls is twice on dev mode, supposedly to expose bad practices on useEffect. This is done in a NextJS SSG app pages. Is is a bad practice? #ReactJS #Nextjs
Hey, @TkDodo what is the best way to access query data from a component that cannot be responsible for firing up the query? Should I just use useQueryClient.getQueryData? Obs: another component will actually call the useQuery hook.
1
2
Replying to @Firebase
@Firebase seems like I am not the only one being asked to re-verify domains when nothing has changed. I hope you can fix this bug quickly as I don't want any sites to go down!
1
4
Google Analytics has the most confusing doc pages I've ever been through... Lots of stuff as answers on Analytics Help, Tag Manager Help. Feels like doc pages are mixed with Q&A. And now with Analytics 4 working on top of Universal Analytics... OMG @googleanalytics @googledevs
Hi @JohnMu how are you? I think users tend to click more often a URL with their country code, rather than the lang code. So, can I set 2 subdomains (mx, es) with 100% exact same content if I set the hreflang alternates to es-MX es-ES? They will be indexed even being duplicates?😀
I don't know why WHO hasn't recommended this yet. But that is the only way. #Masks4All youtu.be/HhNo_IOPOtU via @YouTube
cbdeveloper retweeted
It's Wednesday. 1. Antarctic ice is collapsing 2. Deserts are growing 3. Permafrost is thawing 4. Forests are being killed 5. Insects are vanishing 6. Corals are dying 7. Most species face extinction 8. Arctic ice is melting We won't survive if TV news pretends this isn't real.
9
272
13
541
Hey @AdSense , how are you?! Need some help. Is it `data-adtest="on"` or `data-ad-test="on"` (I've seen it both ways) ? Also, to turn it off is "off", right? Where can I find official reference for this and all other supported `data-ad` parameters? Thanks 😀
To all SEO experts: In a sitemap, should I update the lastmod tag of a url based on the text content or html content? I mean, if I add structured data tags or better semantic tags for all my pages, should I update all my `<lastmod>` tags? #SEO #SITEMAP #WEB #GOOGLEBOT
6
1
4
@JohnMu 😀 Hey John, If you got some time, I would like know if I should update all my <lastmod> tags if I change some important HTML in my pages template. Ex.: add better semantic tags or add some structured data tags. Even though the page text/image content doesn't change. Tks
1
3
this is all too real SOURCE: marketoonist.com/2019/01/sta…
3
35
8
71
That is great!
I'm *extremely* excited to announce sizzy.co - The Responsive Design Browser 🎉 🎊 🔥 🥁 🎺 🥳 YES! An actual browser for designers and developers 🤩 Tons of amazing features and even more coming soon! 😎 3 random people who RT will get a lifetime license 👌 🎫