« first day (3858 days earlier)      last day (1073 days later) » 

9:27 AM
Hey all, can someone help about react's uselayouteffect usage? I have a question but sadly no one answered my question :(
 
@Özgür Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
0
Q: useLayoutEffect does not update UI before react dom paints UI

ÖzgürI was practicing useRef usage with useEffect hook. Simply, it shows the old value since useEffect hook runs after React paints the UI. function UseRefExample1() { const ref = useRef('') const [val, setVal] = useState('') useEffect(() => { ref.current = val }, [val]) return ( <div classN...

 
 
3 hours later…
12:04 PM
hey guys. Which library do I need to use to describe my routes and socket.io emmits with swagger? Is it even possible to describe socketio with swagger??
I'm using express with socketio
 
 
6 hours later…
6:05 PM
does anyone knows how to force hard reload from the server similar to ( ctrl+shift+r ) in chrome using javascript ?
 

« first day (3858 days earlier)      last day (1073 days later) »