ProjectMirador / research-and-demos

Proofs of concept for Mirador 3
10 stars 8 forks source link

sets up a pattern for developing plugins using a HOC pattern #96

Closed mejackreed closed 5 years ago

mejackreed commented 5 years ago

This PR sets up a pattern using React HOC for rendering plugins and their parents/siblings

There are some rough edges, but generally I think this gives us a lot of flexibility.

Because we lookup rendered plugins by their called Classes, we need to not mangle classnames at this point. This increases the build size unfortunately but hopefully we can improve this later.