reactjs app working properly on desktop but not visible on mobile -


i'm new react , created small app. works fine on desktop, react part of app doesn't show on mobile. can sby tell me should do?

http://dry-wildwood-76655.herokuapp.com/

package.json

{   "name": "udacitytransportationapp",   "version": "1.0.0",   "description": "",   "main": "index.js",   "scripts": {     "start": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",     "prod": "node_env=production node server.js",     "postinstall": "webpack -p"   },     "author": "",     "license": "isc",   "dependencies": {     "babel-core": "^6.11.4",     "babel-loader": "^6.2.4",     "babel-preset-es2015": "^6.9.0",     "babel-preset-react": "^6.11.1",     "babel-preset-stage-1": "^6.5.0",     "express": "^4.14.0",     "html-webpack-plugin": "^2.22.0",     "jquery": "^3.1.0",     "lodash": "^4.13.1",     "moment": "^2.14.1",     "offline-plugin": "^3.4.2",     "react": "^15.2.1",     "react-dom": "^15.2.1",     "react-router": "^2.6.0",     "webpack": "^1.13.1"   },   "devdependencies": {     "mocha": "^2.5.3",     "webpack-dev-server": "^1.14.1"   } } 

index.html

<!doctype html> <html>   <head>     <title>transportation app</title>     <meta charset="utf-8">     <meta http-equiv="x-ua-compatible" content="ie=edge">     <meta name="viewport" content="width=device-width, initial-scale=1">     <link rel="stylesheet" href="/style/style.css">     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">   </head>   <body>     <div class="header">       <nav class="navbar navbar-default">         <div class="container-fluid">           <div class="navbar-header">             <div class="navbar-brand">transportationapp</div>           </div>           <ul class="nav navbar-nav navbar-right">             <li>               <a href="http://www.bart.gov/">with app can search through bart station schedules</a>             </li>           </ul>         </div>       </nav>     </div>     <div class="container"></div>   </body>   <script src="/bundle.js"></script> </html> 

style/style.css

.bart-image {   width: 300px;   height: 300px; }  .table-row {   padding-top:30px; } 

your problem using fetch. if @ documentation https://developer.mozilla.org/en-us/docs/web/api/fetch_api can see not supported in browsers. why showing in desktop chrome not safari , why doesn't work on mobile.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -