I imagine one solution could be that the snap-framework redirects all references to $HOME/snap in developers code to $HOME/.local/{share,bin}.
I imagine one solution could be that the snap-framework redirects all references to $HOME/snap in developers code to $HOME/. local/{ share,bin} .