Internal method generating composite keys for the hook lookup map by JSON-serializing a [property, state] pair. Not meant for external use.
[property, state]
name_bind_prop_and_state('color', 'Red'); // '["color","Red"]' Copy
name_bind_prop_and_state('color', 'Red'); // '["color","Red"]'
The property name (e.g. a data key or hook category).
The state name to bind to.
A deterministic JSON string key for the [prop, state] pair.
[prop, state]
If either argument is not a string.
Internal method generating composite keys for the hook lookup map by JSON-serializing a
[property, state]pair. Not meant for external use.