Skip to main content
98 votes
2 answers
51k views

I've read about hydration in doctrine's documentation but I still can't understand what it is. Could someone please explain?
never_had_a_name's user avatar
1 vote
2 answers
2k views

I try to get all my objects DemandCab with their children object (DecisionCab). My 2 entities /** * DemandCab. * * @ORM\Table() * @ORM\Entity(repositoryClass="DemandCabRepository") */ class ...
Thomas Mairé's user avatar
10 votes
8 answers
14k views

I created the project with npx create-next-app@latest./ When starting the project, there is an error "Hydration failed because the server rendered HTML didn't match the client. As a result this ...
Logitech's user avatar
  • 303
7 votes
1 answer
3k views

I would like to share TS classes or interfaces between a React + TS frontend and node + TS backend. The problem is that TS types are stripped away in compile time, so I cannot use them when I want to ...
fodma1's user avatar
  • 3,527
4 votes
1 answer
8k views

I have a Next JS app with Next-i18next localization and SSR. It works fine in all cases except in one case where I have a custom carousel component on a page that takes in an array of objects as a ...
brainpostman's user avatar
2 votes
1 answer
920 views

When I was learning Remix, I followed the tutorial to initialize a project, but when I opened Devtools, I saw several errors reported on the console. Warning: Did not expect server HTML to contain a &...
Marshall's user avatar
2 votes
1 answer
4k views

I've been trying out Angular 17's SSR feature. Coming from Next.js, I'm wondering if there's any way to run code only on the server side? I have tried to use platform ID to figure out where the ...
HibernateHater's user avatar
2 votes
1 answer
1k views

I have a PostgreSQL table t with columns t1, t2, …. I need to filter a collection of the entities before hydrating all objects by Doctrine due to efficiency reasons. However, the Criteria class ...
user2690527's user avatar
  • 1,941
1 vote
1 answer
328 views

I am loading HTML content from a Supabase repo. When I display the content without the @html tag it shows (as plain text), but when I encapsulate it with {@html ...} nothing is shown and I get a ...
16ar's user avatar
  • 175
1 vote
1 answer
918 views

I have page with "getServerSideProps" functionality which makes API call and as a result receive page props. Props have different fields and one of them contains raw html string (example ...
TomLynx23's user avatar
  • 149
0 votes
1 answer
640 views

I have some warnings such as hydration warnings in nextJs, which just show in my local host and every thing is ok in stage and production . I've tried to solve hydration warnings before but because of ...
farzaneh kamali's user avatar