You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know the component runs because I can put a console log into it and it works. But for some reason it gives me a blank screen when I go to that page. Any idea what could be wrong?
EDIT:
It looks like the JS in the <script> tags in the index.html file isn't being run? I tried doing a console.log from there and nothing happens.
The text was updated successfully, but these errors were encountered:
I've got a Tab.Screen app with a bunch of screens and I've added the Uplot exmpla code in a file called "Chart.js" like so:
import React, {useState, useCallback, useEffect, useRef} from 'react';
import {UPlot} from '@dpwiese/react-native-canvas-charts/UPlot';
Than in my App.js file I use the chart like so:
<Tab.Screen name="Charts">{() => <Chart></Chart>}</Tab.Screen>
I know the component runs because I can put a console log into it and it works. But for some reason it gives me a blank screen when I go to that page. Any idea what could be wrong?
EDIT:
It looks like the JS in the <script> tags in the index.html file isn't being run? I tried doing a console.log from there and nothing happens.
The text was updated successfully, but these errors were encountered: