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

Reference to jquery remains in the jsx sample. Sample not working #157

Description

The references to jquery were removed in commit e190f5a.

A reference to jquery still remains in app.tsx and in require-config.js
app.tsx $ remains
ReactDOM.render(<Greetifier {...props} greeting={getRandomGreeting} />, $('#output').get(0));

configure-js
"jquery": ['/node_modules/jquery/dist/jquery']

I tried replacing $('#output') with document.getElementById('#output') but got an error "Target container is not a DOM element." I don't know where to go from here.

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