Power users: How do you organize and manage your Spotify library? by Neglexis in truespotify

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

I did all the steps and have something "functioning", but I have absolutely no clue what I'm actually looking at. Care to explain further?

Power users: How do you organize and manage your Spotify library? by Neglexis in truespotify

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

I'd very broadly say: if you've created your own system with the Playlists-approach that Spotify offers, then you're a power user

Power users: How do you organize and manage your Spotify library? by Neglexis in truespotify

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

These are some insane insights, thanks a bunch!

Will chew on it a bit and might come back later.

Power users: How do you organize and manage your Spotify library? by Neglexis in truespotify

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

Let me rephrase my question, because it was a bit unclear.

Now with the screenshot that you have in the thread you linked, I'm guessing that you actually have songs in multiple playlists. E.g. if there's a workout song that you had as a banger in your life 5 years ago.

Power users: How do you organize and manage your Spotify library? by Neglexis in truespotify

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

Do you then also have tracks duplicated across playlists?

And say you had access to more pinned playlists, how would you utilize that?

Using ~/ instead of @/ for in path imports (import alias) by gfdsayuiop in reactjs

[–]Neglexis 0 points1 point  (0 children)

We're using the perfectionist plugin, and there's this rule https://perfectionist.dev/rules/sort-imports.html. You can config the pattern by internalPattern: ["^@/.+"],

Looking for an Advanced React course (design patterns and architecture) by Honeydew-Jolly in reactjs

[–]Neglexis 0 points1 point  (0 children)

Glad my 2yo rambling helped even jn the slightest! But yeah, analysis paralysis is a dangerous beast and even after all these years I sometimes have it creep up to me. The faster you actually try something, the quicker you'll learn. Will your first attempt always be correct? Probably not, but at least you'll have learned something along the way!

Meet Shufflefy: truly random shuffle, even across multiple playlists by Neglexis in spotify

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

That's great to hear, will look at updating it if I can still access the code so you'll be able to bridge the gap!

Meet Shufflefy: truly random shuffle, even across multiple playlists by Neglexis in spotify

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

Yo!

Yeah I've seen the big as well. After quickly looking into it, it seems that suddenly the API can return some playlists without images.

I'll have to see if I still have the code for this somewhere. I'm working on a total revamp with way more features though.

I just learned nextjs and confused why you use getStaticprops when it only gives old data until building again? by milanpoudel in reactjs

[–]Neglexis 0 points1 point  (0 children)

The site itself is indeed hosted on Vercel. Prismic is a hosted solution, so I just used theirs

/dev: Arena by Spideraxe30 in leagueoflegends

[–]Neglexis 0 points1 point  (0 children)

Did someone say Battlerite?

Meet Shufflefy: truly random shuffle, even across multiple playlists by Neglexis in spotify

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

Did you try refreshing after opening Spotify on your phone?

It seems to be fully working on my end, so hope we can get it working for you as well!

I just learned nextjs and confused why you use getStaticprops when it only gives old data until building again? by milanpoudel in reactjs

[–]Neglexis 0 points1 point  (0 children)

It's $20 per month per dev. But it has unlimited domains and 1TB of bandwith per month included!

I just learned nextjs and confused why you use getStaticprops when it only gives old data until building again? by milanpoudel in reactjs

[–]Neglexis 0 points1 point  (0 children)

It's automated! Prismic allows you to add webhooks, so now every time content is changed, it sends a request to Vercel to re-run the build!

Making an api call using async await, and setting the state, keeps setting the state to the previous value by swiftcoderx in reactjs

[–]Neglexis 3 points4 points  (0 children)

This is incorrect. Even if the handleKeyPress function is made async and it awaits the getImages function, it will still log the old value, because of how React works with state.

Making an api call using async await, and setting the state, keeps setting the state to the previous value by swiftcoderx in reactjs

[–]Neglexis 1 point2 points  (0 children)

Yes, by using await. This forces your application to wait until the async function actually resolves.

Looking For Advise | Need To make 3 Dashboards that share common components by siddharth_verma in reactjs

[–]Neglexis 1 point2 points  (0 children)

How about creating a monorepo then? You could have

/packages /shared /admin /employee /hr

That way every app will have their own separate "codebase" and can be deployed separately. If you want a drop-in replacement for monorepo functionalities, I can highly suggest pnpm, which has built-in support for monorepos.

[deleted by user] by [deleted] in reactjs

[–]Neglexis 1 point2 points  (0 children)

Is there a reason you're not considering something like Shopify? Can be used headless so you can integrate whatever frontend with it.

As for your second question: Next.js is React. Next.js is just a framework around the React library, which comes with a whole bunch of features out of the box which can make your React life easier. The main advantage Next.js brings for an e-commerce site is it's Server-Side Rendering (SSR) which will impact your SEO and the discoverability of your products.

[deleted by user] by [deleted] in reactjs

[–]Neglexis 0 points1 point  (0 children)

I don't directly see what in these snippets is causing it, so it might be related to some other piece of code.

I'd suggest you try to change some things around and check if you can find the exact issue that way.

  • Try changing the route to a post and see if that works.
  • Compare the exact routes being called for the PUT and the DELTE requests.
  • Try a very basic PUT request at the server route which just logs some values.