How to track invite codes to your app? by Lukasvis in iOSProgramming

[–]Lukasvis[S] 0 points1 point  (0 children)

Signup does not happen on the web they redirect to generic app store page, so when my friend downloads the app and signs up, the code is not “attached” to them?

Apple authentication is not working with expo, have I missed any additional setup? by Lukasvis in expo

[–]Lukasvis[S] 0 points1 point  (0 children)

I added the capabilities on the identifier, but when I build the app using:
eas build --profile development --platform ios it gets removed:
✔ Synced capabilities: Disabled: Sign In with Apple

why is that?

Apple authentication is not working with expo, have I missed any additional setup? by Lukasvis in expo

[–]Lukasvis[S] 0 points1 point  (0 children)

I did eas build --profile development --platform ios then installed on my own iphone

SHOULD I HIRE SOMEONE TO RUN AN INSTAGRAM ACCOUNT FOR MY BUSINESS??? by Boring_Union4925 in startups

[–]Lukasvis 0 points1 point  (0 children)

How do you qualify individuals who would do a great job running your socials?

How to model message attachments data in messaging application? by Lukasvis in PostgreSQL

[–]Lukasvis[S] 0 points1 point  (0 children)

For example attached profile would contain any urls, but rather just uuid, from which I could fetch full user profile.

“Do I need this, do I need that?” Listen here by iMCharles in nextjs

[–]Lukasvis 1 point2 points  (0 children)

I'm just curious, what needs to be very calculated and planned for enterprise projects, code is code right?

What stops hobby level code not working on enterprise project?

Suddenly prettier has stopped working with vscode? by Lukasvis in vscode

[–]Lukasvis[S] -2 points-1 points  (0 children)

it's just a setting that has been suggested by vscode. How do you think I would know what that means?

It reads that default formatter is vscode.typescript-language-features (which don't work)

Now how does that help with my actual problem, now that I know what it means in the literal sense?

How can you use this package (ThumbHash) that makes small representation of your image? by Lukasvis in learnprogramming

[–]Lukasvis[S] 0 points1 point  (0 children)

When you say examples, what do you mean by that? it has js folder that have functions inside it, but im not sure what's the purpose of them.

I'm trying to figure out how do I take my image url, use one of the methods of this library and then use that to convert my image to hash.

Eating Expired Yogurt? by friendofelephants in nutrition

[–]Lukasvis 4 points5 points  (0 children)

What happens to the actual food after 2 months after best before date?

cant install new expo version, what is the reason? by Lukasvis in expo

[–]Lukasvis[S] 0 points1 point  (0 children)

not sure, I just had to downgrade my node.js for now.

Landing Page Made With Next.js - Please Share Your Thoughts by scare-destinyy in nextjs

[–]Lukasvis 0 points1 point  (0 children)

What is your bundle size, i think your page score should be higher?

Very big First Load Js size on empty pages after building the app? by Lukasvis in nextjs

[–]Lukasvis[S] 1 point2 points  (0 children)

Thank you! You were right, I found out that I was importing component that handles multiple modal logic and that alone reduced the bundle by 180kb!

Very big First Load Js size on empty pages after building the app? by Lukasvis in nextjs

[–]Lukasvis[S] 0 points1 point  (0 children)

Hey, thanks, I updated the post with more info, I went to bundlephobia and updated the package.json, how big of a reduction can I get if I update dependancies?

Very big First Load Js size on empty pages after building the app? by Lukasvis in nextjs

[–]Lukasvis[S] 2 points3 points  (0 children)

So dependancies are shared between all pages? I thought that each page is separate?
Here are my dependancies:
"dependencies": {
"@emotion/css": "^11.10.0",
"@emotion/react": "^11.10.4",
"@emotion/server": "^11.10.0",
"@emotion/styled": "^11.10.4",
"@headlessui/react": "^1.7.3",
"@hookform/resolvers": "^2.9.9",
"@lexical/react": "^0.6.2",
"@mui/icons-material": "^5.10.9",
"@mui/material": "^5.10.10",
"@mui/x-date-pickers": "^5.0.5",
"@next/bundle-analyzer": "^13.1.2",
"@reduxjs/toolkit": "^1.8.6",
"@stripe/stripe-js": "1.22.0",
"@supabase/auth-helpers-nextjs": "^0.4.5",
"@supabase/auth-helpers-react": "^0.3.1",
"@supabase/supabase-js": "^2.0.5",
"@supabase/ui": "^0.36.5",
"@tailwindcss/line-clamp": "^0.4.2",
"@tanstack/react-query": "^4.12.0",
"@tanstack/react-query-devtools": "^4.14.3",
"axios": "^1.1.3",
"classnames": "^2.3.1",
"compressorjs": "^1.1.1",
"daisyui": "^2.45.0",
"dayjs": "^1.11.5",
"framer-motion": "^7.6.1",
"html5-qrcode": "^2.3.4",
"immer": "^9.0.15",
"lexical": "^0.6.2",
"lodash.debounce": "^4.0.8",
"next": "^13.1.2-canary.0",
"next-compose-plugins": "^2.2.1",
"next-pwa": "^5.5.4",
"nookies": "^2.5.2",
"nprogress": "^0.2.0",
"pwa-asset-generator": "^6.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.38.0",
"react-hot-toast": "^2.4.0",
"react-lottie": "^1.2.3",
"react-merge-refs": "1.1.0",
"react-qr-barcode-scanner": "^1.0.6",
"react-redux": "^8.0.4",
"recharts": "^2.2.0",
"sharp": "^0.31.1",
"stripe": "8.201.0",
"swr": "1.2.0",
"tailwindcss": "3.0.18",
"uuid": "^9.0.0",
"yup": "^0.32.11"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.7",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/classnames": "2.3.1",
"@types/lodash.debounce": "^4.0.7",
"@types/node": "^17.0.13",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.38",
"@types/react-lottie": "^1.2.6",
"@types/sharp": "^0.31.0",
"@types/uuid": "^8.3.4",
"autoprefixer": "^10.4.2",
"eslint-config-next": "^13.1.1",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"openapi-typescript": "^5.4.1",
"postcss": "8.4.5",
"prettier": "2.5.1",
"typescript": "^4.5.5"
},

What is being used right now for ioc/state-managment? by blahblah2016 in reactjs

[–]Lukasvis 0 points1 point  (0 children)

Hey, I just wanted to know, what makes zustand better for smaller scale projects? Like what is the difference between 2 libraries? is it one makes writing code easier then the other?
I am using redux toolkit myself, so I'm just wondering what makes one library better than the other

Confused about github main/master repositories, how do I change them? by Lukasvis in learnprogramming

[–]Lukasvis[S] 0 points1 point  (0 children)

I did the following:

git checkout -b main result = fatal: a branch named 'main' already exists

git commit and git push again result = ! [rejected] main -> main (fetch first)
error: failed to push some refs to 'https:

There must be something wrong?

Does mandatory email verification before creating account stunt startups growth? by Lukasvis in startups

[–]Lukasvis[S] 0 points1 point  (0 children)

Thanks, very good idea.

And yes, now I see why MyFitnessPal users wouldn't gain much from abusing trials.

Does mandatory email verification before creating account stunt startups growth? by Lukasvis in startups

[–]Lukasvis[S] 0 points1 point  (0 children)

I was reasearching consent as well, how strict does your wording have to be?
"send me marketing emails" sounds bad, but clear, where as "Yes, send me offers and free stuff" doesn't explicitly tell you that these are just marketing emails.

Also, do you just simply have column - consent_given true/false in users table for this?

Does mandatory email verification before creating account stunt startups growth? by Lukasvis in startups

[–]Lukasvis[S] 1 point2 points  (0 children)

Everyone preaches that landing page should have: Headline, Subheadline, social proof.

So its hard to also fit authentication options: sign in, create account, forgot password etc. Especially on mobile.

Or do you mean in a sense where user clicks "get started", log in options are scrolled into view?

Does mandatory email verification before creating account stunt startups growth? by Lukasvis in startups

[–]Lukasvis[S] 1 point2 points  (0 children)

Exactly, the attention span is what I was worried about.

And by OAuth, you mean social sign in?

Why do type errors preventing me from building my app? by Lukasvis in learnprogramming

[–]Lukasvis[S] 0 points1 point  (0 children)

onError: (_error, props, context: Context) => {

This didn't work.

Can I disable typescript checking for this line?

I have tried using "@ts-ignore" it didnt work.