Skip to content

toast.show("Hello World"); is undefines or not a function in multiple times #186

@H-57

Description

@H-57

Current behaviour

At first build all works fine but after modified any code it reload app ant toast show undefined

Expected behaviour

return undefined not show mesage

Code sample

For Syntax Highlighting check this link
`const Main = () => {
const [Screen, setScreen] = useState('logo')
const toast = useToast();

useEffect(() => {
toast.show("Hello World");
}, []);

`

Screenshots (if applicable)

Capture

What have you tried

Your Environment

software version
ios or android android 10
react-native "0.73.1"
react-native-toast-notifications "^3.4.0",
node 20.11
npm or yarn

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions