GeekyAnts / GeekyAnts/NativeBase

React 18 + NodeJs + Menu / Alert / Tooltip don't show up in development mode

Open
#5,617 2 comments 2 reactions 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

Menu, Alert and Tooltip don't work with React 18 render functionality

### CodeSandbox/Snack link

-

### Steps to reproduce

When the render mode is set to React 18
```

const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);

root.render(

);
```

Instead of 17
```
ReactDOM.render(


,
document.getElementById("root")
);
```
Components like Menu, alert or tooltip don't show up in development mode (craco start).

### NativeBase Version

3.4.25

### Platform

- [ ] Android
- [X] CRA
- [ ] Expo
- [ ] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.