check this post https://openjscad.nodebb.com/topic/248/react-library-v2

or this https://github.com/jscad/OpenJSCAD.org/discussions/895