Best practices when interfacing with vanilla JS libraries. - SolidJS