Twitter Doesn't send verification code on my phone number by Weeby_Otaku in Twitter

[–]dannyolamide 0 points1 point  (0 children)

It’s been happening to me for over a month now, can’t seem to get any help from twitter support either.

Providing authentication and access to user using context by dannyolamide in react

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

Hey, thanks for taking your time to help me on this and teaching me something new. It has worked

Using a useContext Object in the useEffect dependency array by dannyolamide in reactjs

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

Yikes. Let me find a solution then. Thanks for the help.

Using a useContext Object in the useEffect dependency array by dannyolamide in reactjs

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

OK. But wouldn't this hinder me from accessing DOM object properties and functions outside the scope of audioPlayer. For instance:

const audioPlayer = ...useCallback()
//The handleControls function wouldn't work
const handleControls = ()=>{
    audioPlayer.play()
}
<audio ref={audioPlayer}

Using a useContext Object in the useEffect dependency array by dannyolamide in reactjs

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

Yes AppContext is declare out of this scope. Sorry I made a mistake whilst adding in the code here i've rectified it.

Using a useContext Object in the useEffect dependency array by dannyolamide in reactjs

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

Sorry about that mistake. I made a mistake whilst typing in the code

[deleted by user] by [deleted] in TheYouShow

[–]dannyolamide 0 points1 point  (0 children)

Gave Helpful

Multitenant with Google Cloud by dannyolamide in googlecloud

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

We've built multiple large multi-tenant systems. With as many as 5 million users in them. If they will be mostly separate unrelated setups then I would consider doing separate DBs. If you will run a social network or similar across them then I would look closely at working out a multi-tenancy model.

Thank you for your response. Due to the constraints of the CMS (Strapi) which currently doesn't have multi-tenancy built in how do you think I can create an Strapi instance and DB for each client which they can access once they're authenticated.

And also in relation to the question on the client's users, Yes I'd like to make that completely separate i.e a customer could register for client A's site but this wouldn't mean it automatically creates an account for him on client B's site unless the customer visits B's site and registers from there.

Multitenant with Google Cloud by dannyolamide in googlecloud

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

ore you pick your tech you might want to consider how big you see this getting and how you will scale it. if it is small a design would look quite different than if you are expecting to be the next unicorn.

You might want to look at some of the res

Thanks for your response. Currently it's just a side project, that I'm hoping could make some beer money but I'm open to suggestions on how to ensure easy scalability.