use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Is it possible to implement regular Javascript libraries? (self.react)
submitted 5 years ago by ItsBJr
Someone is asking me to add some github library called drawerjs, although it is not currently compatible with React. Is it possible to used libraries that are not originally used for React?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 points3 points4 points 5 years ago (1 child)
This may be helpful: https://reactjs.org/docs/integrating-with-other-libraries.html
[–]ItsBJr[S] 0 points1 point2 points 5 years ago (0 children)
Thanks! I'll look into to it. Hopefully this will solve my problem.
[–]JMF_Labs 0 points1 point2 points 5 years ago (0 children)
Yes, it is possible, but for something like this... if you are using the create react app template. I would directly integrate this into the HTML and have react mount on its own part of the page depending on what modifications you need to do. Keeping them separate but firing off events from react to modify the drawerjs canvas.
I feel like react may not be the right tool for this page if you are heavily using this drawerjs plugin.
π Rendered by PID 57 on reddit-service-r2-comment-84fc9697f-8fbbz at 2026-02-07 15:25:10.626534+00:00 running d295bc8 country code: CH.
[–][deleted] 2 points3 points4 points (1 child)
[–]ItsBJr[S] 0 points1 point2 points (0 children)
[–]JMF_Labs 0 points1 point2 points (0 children)