So I'm gonnahave a rulethatattheendoftheattheendof a hookafterwe'redone, weshouldjustalwaysincrementallyindexsothatthenextwhatcantakeconflictingtakeplacesothatwehaven't independentlyupdatingcountinTexasnotchanging.
That's good.
Butoverherewestillhavethisweirdbug, andthat's because I justkeepincriminatingindexplusoneplusoneplusone.
That's what I needtoresetitbacktozero.
Sothateverysingletime, a rearender, um, it's goingtostartandgothroughallthesehooksfromscratchbecauseit's referringtotheinternalhookstorage.
So, yeah, let's justsetittozero.
Andnow I'm gonnabreakeverythingon.
Thisisbecauseof a verysubtlebug.
Again, setstateiscalled a synchronicityIsthatstateiscalledafterrenderrighton.
Bythattime, hopetheindexesactuallysetbacktozero s.