Skip to content

✨Added Preact to the Dev Dashboard using Rollup#18719

Closed
torch2424 wants to merge 2 commits intoampproject:masterfrom
torch2424:dev-dashboard-preact
Closed

✨Added Preact to the Dev Dashboard using Rollup#18719
torch2424 wants to merge 2 commits intoampproject:masterfrom
torch2424:dev-dashboard-preact

Conversation

@torch2424
Copy link
Copy Markdown
Contributor

@torch2424 torch2424 commented Oct 13, 2018

Note: PR looks big from committing the package-lock, and initial build output, and seperating the original template.html into more appropriate files

This adds preact support to the dashboard, using Rollup and babel, and creating a small project within the project essentially.

Currently, this is built by placing the iife bundle into our template using mustacheJS, and then the server we have serving it, will place in the examples. I know it's kinda hack-y but the PR was already getting big, and I saw #18718 So I was like, lets just get this reviewed real quick haha!

So the original Proxy conversion and I guess "Top half" of the website is rendered using preact, the bottom half is still SSR'd

Example

preactdashboard

@ghost
Copy link
Copy Markdown

ghost commented Oct 13, 2018

This pull request introduces 1 alert when merging f55f2b1 into 3d4ae03 - view on LGTM.com

new alerts:

  • 1 for Expression has no effect

Comment posted by LGTM.com

@torch2424
Copy link
Copy Markdown
Contributor Author

Closing in favor of: #18796

@torch2424 torch2424 closed this Oct 17, 2018
@torch2424 torch2424 deleted the dev-dashboard-preact branch October 26, 2018 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants