Material UI

7 views
Skip to first unread message

Ean Schuessler

unread,
Apr 25, 2017, 7:25:23 PM4/25/17
to FilterBubbler Dev
I did some work today to embed the Material UI library into the WebExtension. The thing that hung me up the longest was getting web fonts (for icons) going. For some reason fetching fonts from a moz-extension: URL would not work. I finally ended up embedding the resources using base64 encoded data URIs.

You can read more about the React library here:

While searching for information about using React components in a WebExtension I came across this interesting library:

This library provides access to the same Redux data store in the background, popup and content scripts. This seems like a much more elegant way to pass data from the background scripts to the other components in the system. I may look at integrating this tomorrow.

Once this is all a bit further along I will write a new blog entry discussing the use of React, Redux and Material-UI in a WebExtension. Let me know your thoughts!

--
Ean Schuessler, Brainfood Co-Founder
Reply all
Reply to author
Forward
0 new messages