Skip to content

Removed unneeded functions from react-shim.js #181

Open
@ashryanbeats

Description

@ashryanbeats

Submit an issue

Topic

This is an issue regarding:

https://github.com/AdobeXD/plugin-docs/blob/master/tutorials/quick-start-react/index.md

Versions

  • Supported XD version(s): 16+

Description of the issue

Our React Quick Start contains code for a react-shim.js file. Some or all of the functions included there will (or have) become unnecessary as the plugin API evolves.

As of XD 16, we no longer need to shim setTimeout and clearTimeout.

Proposed solution

Let's leave it as-is now, so developers have this option for backwards compatibility.

In a few months, when we no longer need to support older versions of XD with the missing APIs, let's remove unneeded functions, or if possible at some point (much longer term), the entire shim itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions