In the current setup, the project requires to call sampleRUM.enhance() in order for the enhancer to get loaded. If the line disappears or is forgotten, enhancer is never loaded. Moving call in the lib would solve that problem.
Compared to current implementation, this moves the enhancer loading slightly later (after async font loading) which should not change anything.
In the current setup, the project requires to call
sampleRUM.enhance()
in order for the enhancer to get loaded. If the line disappears or is forgotten, enhancer is never loaded. Moving call in the lib would solve that problem.Compared to current implementation, this moves the enhancer loading slightly later (after async font loading) which should not change anything.