@SouthernRailUK At Havant trying to get to Brighton. No trains for last hour. A 4 carriage train went through but didn’t stop. Will there be any trains?
@nationalrailenq your app is currently running an ad which is likely a scam. It directs to https://t.co/nbiEeBi83T and then to https://t.co/umxh2QrFuy which is offering an ebike supposedly for an @AldiUK promotion, but looks suspect
I thought double invocation of useEffect in dev is to show suspense edge cases. I want to replicate a real double invocation, but when a component suspends, the useEffect isn't run. Is there a way to create a real world example for this or have I missed something?
@nikgraf Cleanups happen after render: The useEffect cleanup function always runs after the component has rendered, not before. (9/9)
(yes my counter broke)
@nikgraf Cleanup functions access stale state: Cleanups in useEffect gets the state from when the effect was defined, not the latest - though refs will be up to date. (8/9)