Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Support preact #74

Merged
merged 3 commits into from
Jan 25, 2022
Merged

Support preact #74

merged 3 commits into from
Jan 25, 2022

Conversation

jdreetz
Copy link
Contributor

@jdreetz jdreetz commented Dec 8, 2021

What

While testing Iris with Preact, we discovered several incompatibilities that prevented proper rendering of Iris components. We've made the necessary adjustments to the Iris source to support Preact. I was able to test the entire Iris Storybook with Preact and there did not appear to be any regressions in functionality across components, but this should be verified with QA before merging.

Why

We're working on an update to Vimeo Player UI framework and are considering using Preact. One of the goals for the update is to incorporate Iris components in to the Vimeo player. Given that React and React-DOM are fairly large, we wanted to use Preact instead because of it's fast rendering and small library size.

@jdreetz jdreetz requested a review from a team as a code owner December 8, 2021 19:29
@seanmcintyre seanmcintyre added this to the 1.0.0 milestone Dec 15, 2021
package.json Outdated
@@ -2,7 +2,7 @@
"name": "@vimeo/iris",
"homepage": "https://github.com/vimeo/iris/tree/main",
"bugs": "https://github.com/vimeo/iris/issues",
"version": "0.115.0",
"version": "0.115.0-preactsupport1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdreetz could you please remove the version change so we can merge the PR?

@seanmcintyre seanmcintyre merged commit 4bb4fcd into main Jan 25, 2022
@seanmcintyre seanmcintyre deleted the support-preact branch January 25, 2022 22:32
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants