web-stories-wp icon indicating copy to clipboard operation
web-stories-wp copied to clipboard

[TRY] Preact proof-of-concept

Open swissspidy opened this issue 2 years ago • 0 comments

Context

Wanted to see whether the editor could run with Preact instead of React.

Summary

Relevant Technical Choices

Using Preact's compat layer

To-do

  • [ ] Fix Karma tests
    Looks like the spying doesn't work because the ESM version of Preact is imported instead of the CommonJS version.
  • [ ] Fix Moveable Jest tests

User-facing changes

n/a

Testing Instructions

  • [x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Reviews

Does this PR have a security-related impact?

No

Does this PR change what data or activity we track or use?

No

Does this PR have a legal-related impact?

No

Checklist

  • [ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
  • [ ] I have tested this code to the best of my abilities
  • [ ] I have verified accessibility to the best of my abilities (docs)
  • [ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
  • [ ] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
  • [ ] I have added documentation where necessary
  • [ ] I have added a matching Type: XYZ label to the PR

Fixes #

swissspidy avatar Aug 12 '22 13:08 swissspidy