Skip to content

bug: Breaking of react types with ionic elements #29755

Closed

Description

@VandykenNicholas

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

IN INTELLIJ

Screenshot 2024-08-06 at 2 02 31 PM

In React 8, the types do not generate for Ion Elements

Expected Behavior

The type to not be unknown, and have type interface help while coding.

Steps to Reproduce

IDE:INTELLIJ

1.ionic start myapp --type=react
2. Add <Ion${anything ionic element}>
3. Hover

Code Reproduction URL

https://github.com/ionic-team/starters/tree/main/react/official/blank

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/opt/homebrew/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 8.2.6

Capacitor:

Capacitor CLI : 6.1.1
@capacitor/android : 6.1.1
@capacitor/core : 6.1.1
@capacitor/ios : 6.1.1

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v21.7.2 (/opt/homebrew/Cellar/node/21.7.2/bin/node)
npm : 10.5.0
OS : macOS Unknown

Additional Information

No response

Activity

  1. added a commit that references this issue on Aug 20, 2024
    bacded5
  2. thetaPC commented on Sep 11, 2024

    @thetaPC
    Contributor

    This issue was fixed in v8.2.8! Please update to the latest version to receive the fix.

  3. ionitron-bot commented on Oct 11, 2024

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  4. locked and limited conversation to collaborators on Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions