Software Alternatives, Accelerators & Startups

This weird IFRAME thing wasted my 2 days (and counting...)

Sandpack by CodeSandbox Microlink html2canvas
  1. Sandpack is a toolkit for building live coding experiences that run fully in the browser.
    Pricing:
    • Open Source
    But as soon as I wrote the first iteration, I got to know that it wasn't a cakewalk. The page I was trying to capture screenshot of did not render the preview as soon as it loaded. I am using Sandpack by codesandbox to render react/nextjs components and it takes around 35-40 seconds to load up the preview(it runs every thing on machine[WASM baby], such a ๐Ÿ˜Ž cool tech).

    #Open Source #Text Editors #Software Engineering 8 social mentions

  2. JavaScript library to take "screenshots" of webpages or parts of it, directly on the...
    Pricing:
    • Open Source
    My new approach: Whenever user will open the preview and it would load completely, I will take a screenshot programatically using html2canvas library and later store in the db. I wrote code and it worked as I thought except for one part. Everything was fine in the screenshot, except the preview part. IT WAS BLANK, LIKE COMPLETELY BLANK. Oh my god! How is this possible? What on earth is wrong that every solution I coming up has its own problem attached with it.

    #Development #Tool #Automated Testing 18 social mentions

Discuss: This weird IFRAME thing wasted my 2 days (and counting...)

Log in or Post with