IsoPhoenix
IsoPhoenix
Explore posts from servers
TTCTheo's Typesafe Cult
Created by IsoPhoenix on 8/23/2023 in #questions
Is there a framework for building cross-platform apps for Android, iOS, MacOS, and Windows?
This might be a significant stretch, but I'm moving into mobile app development and wondering if there are frameworks to build apps that are cross-platform between Android, iOS, and desktop applications (Windows and/or MacOS, not webapps). Off of initial research, it seems like Flutter is my closest bet, as it is cross-platform with Android, iOS, web, and desktop. That being said, I'm wondering if there are alternatives given Theo pointed out some reasons Flutter is suboptimal in a recent video. Thanks!
5 replies
TTCTheo's Typesafe Cult
Created by IsoPhoenix on 6/6/2023 in #questions
How to make prettier run before ESLint on save?
I just saw Theo's latest video where he recommended we configure prettier/eslint so that prettier runs first on save for style corrections, then afterwards ESLint does another pass for code quality. How do I ensure that this order occurs upon save? Is it enough to just have the following settings?
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
thanks!
2 replies
TTCTheo's Typesafe Cult
Created by IsoPhoenix on 5/31/2023 in #questions
How is realtime DB syncing accomplished without Firestore/Supabase?
Hi! I've been working with Firestore for a long time now and gotten very used to the realtime db syncing functionality it provides, although I'm trying to move away from Firestore now. Supabase is an obvious alternative because it also provides realtime functionality, but I'm wondering if there's any other way DB syncing might be accomplished (say, if I'm using PlanetScale). If I'm using Planetscale as a DB and, say, viewing data from the database on the webapp, and a different user updates the data, is there a way for me to receive the update on my end (without refreshing)? Thanks!
20 replies
TTCTheo's Typesafe Cult
Created by IsoPhoenix on 4/6/2023 in #questions
Differences between DaisyUI and HeadlessUI
Hi all! I'm very new to Tailwind (but found about it through Theo's channel) and am having trouble comparing Headless UI to Daisy UI. From what I understand, Headless UI is a utility library for unstyled UI components, whereas Daisy UI is a style library that adds CSS classes for theming UI components, but also seems to have an unstyled option. I'm having trouble understanding the niches each of these libraries fill. Can/should I use them together? I understand that HeadlessUI is unstyled, but does it provide functionality (maybe in terms of utility/accessibility) that DaisyUI does not? Thanks in advance!
12 replies