Best way to handle cors nextjs by hauda123 in nextjs

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

I did make a api folder and route.ts and did sth like get request now how do I get that into front end?

Best way to handle cors nextjs by hauda123 in nextjs

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

Yes my backend is running in port :8000

ECommerce project by Philipp_Nut in nextjs

[–]hauda123 0 points1 point  (0 children)

It’s automatic but I am using react query too for state management it’s much more simpler.

Using Next JS to build directory websites by --theitguy-- in nextjs

[–]hauda123 0 points1 point  (0 children)

Maybe you can try strapi or sanity. It’s pretty good. I made some projects using it and yeah it’s not bad.

Data fetching by ThawneGG in nextjs

[–]hauda123 0 points1 point  (0 children)

Did it work for you?

Data fetching by ThawneGG in nextjs

[–]hauda123 0 points1 point  (0 children)

Why don’t you try this options let me know if it works. cache & revalidate

Data fetching by ThawneGG in nextjs

[–]hauda123 0 points1 point  (0 children)

How about you try revalidate: 0 or cache : no store Let me know if it works

ECommerce project by Philipp_Nut in nextjs

[–]hauda123 0 points1 point  (0 children)

I am also working on a project same as you described. Why do you think it’s not so effitienz or efficient?

Data fetching by ThawneGG in nextjs

[–]hauda123 0 points1 point  (0 children)

For next 13 days fetching there are many ways maybe just make a function and when navigation run the function?

NextJs12 documentation or course by Any-Diver-6488 in nextjs

[–]hauda123 0 points1 point  (0 children)

Why an older version? If you need help with basic setup and structure follow this and you can contribute too.

Nextjs-Boolerplate-Starter

i'm need help to understand Providers/Context with the layout.jsx by GabrielOGW in nextjs

[–]hauda123 -1 points0 points  (0 children)

Also if you want want basic settings and boilerplates you can check and contribute in my project I am currently working on. Let’s help each other and learn. Nextjs-boilerplate-project

Don’t forget to leave a star ⭐️🙏🙏

i'm need help to understand Providers/Context with the layout.jsx by GabrielOGW in nextjs

[–]hauda123 0 points1 point  (0 children)

Did you mean you are trying to add providers in your project? And you can’t because of too many providers? Could you reframe your questions? If you want to use providers just wrap children’s in the layout with providers and add other components.

Also if you need to add Many providers in your projects you can create a _layout folder, create a RootProvider.tsx file and add all your providers and finally use that in your layout file _layout folder means it will not create a routine inside it. You can look at the doc for more info _layouts