@1.21gigawatts Those sites usually have tons of trackers on them, so those large scripts usually make the page take forever to load. Just make sure to have short content (maybe less than 100KB CSS files) and it's generally okay to have a lot of requests, as long as the content is short enough.
What I was thinking was 100 - 1000 lines per css and at max maybe 10 css files. Mainly it's a navigation thing
In vscode I can click on a class member and it takes me to the class where the member is declared
i was trying to do with my html page. clicking on the HTML element hoping it would take me to the CSS declaration. it didn't. I tried to put the CSS class in the class attribute, then clicking on the id. but i don't think vscode knows what css is applied to what elements
@northerner You can cut down the data and anonymise it. Instead of real data put in fruits or whatever. The way to interact with the table will be the same regardness.
@northerner Correct.
@1.21gigawatts Depends on what you're targetting. 30 requests need not be much. For a desktop with decent internet connection but might be noticeable on a mobile phone with spotty connection.
In general, though, I'd say 30 is not a lot these days.
Also, you have to make guesses for what the HTML structure is. If we're talking about 3 CSS rules, you can probably more or less suspect what the HTML would be. If it's 300 CSS rules, there is almost no chance. Different pages, different components, different sections, etc. are all in the same CSS spreadsheet.
There is also the "modern"(ish?) microstyles which 1. is an abomination but 2. makes sure you cannot understand the site ever. Because "microstyles" are stuff like bg-red which sets background-color: red or d-none which sets display: none. So, each CSS rule is just one...line of CSS. Therefore, you cannot guess what structure that supports, since there is no separation - the structure is defined by the classes and the classes define the structure
Hey there, this is my first access to stack-overflow chat room. I am a newbie to React and learning by following a tutorial to make a react native app. I am currently stuck on a issue since 4 days which I need some guidance with. Could someone please assist.
@Cool1 Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
Hey there, this is my first access to stack-overflow chat room. I am a newbie to React and learning by following a tutorial to make a react native app. I am currently stuck on a issue since 4 days which I need some guidance with. Could someone please assist.
The app crashes as soon as it starts on the emulator, before it even displays the app.tsx
I am learning about debugging and figured out the logcat way yesterday
this is what i found
FATAL EXCEPTION: main Process: com.valhalla, PID: 26240 java.lang.RuntimeException: Unable to get provider com.google.mlkit.common.internal.MlKitInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.mlkit.common.internal.MlKitInitProvider" on path: DexPathList[[zip file "/data/app/~~A7kyXyor_Na1MF7n5uEUNg==/com.valhalla-GpphL_ikUmkO2EFehLIkSQ==/base.apk"]
my app is a bare native react app and recently i installed expo-core-modules
till then it was working
but as soon as i installed expo-camera, the issue has started
tried to find on forums, and have updated all dependencies to latest version
folks mentioned updating the dependencies, which I did
can someone please point me in some direction, i am not a full-fledged programmer
no worries. I am just trying from my end and posting it here on this chat, t motivate myself :-)
Meanwhile, also created an account on discord. It keeps on asking me to start my own server, which i don't wish to. Can we join existing chats on react\javascript there? Any ideas