Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
289 views

ReactJS : React-to-print & Navigate : Uncaught TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_1__.useRef) is not a function

I try to do a sort of "go back" action. I have a page that is the preview of what I want to print with react-to-print. Everything works perfectly : components appears, when I click on "...
Aliénor's user avatar
0 votes
0 answers
252 views

how to make useReactToPrint get the last update(state)

I want to print the facture of selling , for that i used useReactToPrint but the problem is that it takes the last update of my values, for example if i add two numbersin the selling price field it ...
Isra_Yas's user avatar
2 votes
0 answers
2k views

Argument appears to not be a ReactComponent. Keys:

I need to print a component for that i'm using react-to-print package. here everything is working fine. when i try to customize it based on my requirement i'm getting this error. i tried to search in ...
shanmuga priya's user avatar
0 votes
3 answers
2k views

Downloading to PDF or Preview and Save to PDF/Print using React

I need to know whats the better options between the two: 1st - I call backend to get the JSON response from it and use react-to-print package to preview and save to PDF/Print. 2nd - I call backend to ...
Joseph's user avatar
  • 7,745