[GoLUG] GoLUG meeting: Google's Material Design - an Implementation in React
Ron / BCLUG
admin at bclug.ca
Tue Oct 8 17:36:05 EDT 2024
Steve Litt wrote on 2024-10-08 12:01:
> I'm extremely interested in ReactJS.
I oughta do a presentation on ReactJS then - it's really cool.
> One thing I'm most interested in is how to either handle or avoid
> callbacks three or four levels deep.
Probably more of a "handle" than "avoid" situation.
I'll see how to incorporate that into a presentation without doing *too*
deep a dive.
For now, think of asynchronicity: a variable in-scope at declaration
might not be available at invocation, so by using a (normally anonymous,
aka "lambda"-style, in-line) function, it'll get the parameters and be
able to use then whenever its turn to run occurs.
That's an off-the-top-of-my-head response, hopefully will help a bit.
There are two classic computer problems:
1. cache invalidation
2. naming things
3. off by one errors
0. asynchronous events
rb
More information about the GoLUG
mailing list