824 viewsMern Amazona

Hello There,
I am getting an error, which says: “screen.after_render is not a function at router”.
when I click on the error, it redirects me to index.js where am using screen.after_render method of ProductScreen file.
I did try solving it by my self but, I still couldn’t figure out what’s wrong. One thing that am not getting is
We have not imported after_render method of (ProductScreen.js) to index.js file than how it is possible to use it?
It would be really kind of you, if you help me with this, if possible.
Thank you,
Sincerely [Shahrokh Temori]

Bassir Changed status to publish November 26, 2023

Same thing bro…….. Someone should help please