This is just a dummy experiment to showcase how react hooks can be implemented simply by using the scope chain.
The code also illustrates why hooks must be declared unconditionally, since they are retrieved by index of call order.
This is just a dummy experiment to showcase how react hooks can be implemented simply by using the scope chain.
The code also illustrates why hooks must be declared unconditionally, since they are retrieved by index of call order.