Check out example codes for "how to read reportview query string c#". It will help you in understanding the concepts better.

Code Example 1

ReportParameter rpt7 = new ReportParameter(**PARAMETER NAME**, **VALUE**);
    this.ReportViewer1.ServerReport.SetParameters(new ReportParameter[] { rpt7 });

Code Example 2

protected void Page_Load(object sender, EventArgs e)
                ReportViewer1.ServerReport.ReportPath = _myReportPart; // I want to pass more query string here like deviceId=1234. How can I do so?
                ReportViewer1.ServerReport.ReportServerUrl = new Uri(myReportServerUrl);

Learn ReactJs, React Native from