Questions tagged [react-slingshot]

About

React Slingshot is a comprehensive starter kit for rapid application development using React

Links

14 questions
5
votes
2 answers

React slingshot - Webpack hot middleware returning 404 on hot-update.json when using react router sub-routes

Im using the react slingshot starter project for my react/redux app. Hot reload works great when I use routes like /foo but I've found that hot reload isn't working on subroutes like /foo/bar. I haven't made any changes to the out-of-the-box webpack…
Jonathan Lau
  • 53
  • 1
  • 4
2
votes
1 answer

I am getting a "SyntaxError: invalid syntax" when I am trying to install React Slingshot

I am getting this error when I am trying to install React Slingshot. How can I get rid of this? Same problem when I am running 'npm run setup' cmd. I am using node version v14.16.0 npm version 7.5.2. npm ERR! code 1 npm ERR! path…
2
votes
1 answer

How to enable proxy in react-slingshot (by coryhouse) so I can call my Django REST APIs?

I have a Django development server running on port 8050 with several REST APIs that I would like to serve to my React app, which is composed by react-slingshot and is running on localhost:3002. What I want is for my Javascript code, such as…
ONMNZ
  • 322
  • 3
  • 8
2
votes
1 answer

Failed PropType. Value is undefined

My intention is to do something very basic. I just want my name to appear in the HelloPage container upon rendering and, then, with a click turn my name into "Bob." I presume I'm missing something stupid. HelloPage.js (container, where my name…
Gabriel Kunkel
  • 2,643
  • 5
  • 25
  • 47
1
vote
0 answers

Webpack failure: "ENOTDIR: not a directory, stat 'node_modules/.cache/hard-source/.DS_Store/stamp'"

I have created a new project with react-slingshot starter and after running the webpack the second time I faced the following problem (persists): The app cannot load in the browser, it keeps waiting for the response from the webpack dev server. And…
ilonacodes
  • 179
  • 6
0
votes
1 answer

React making browsers laggy

I actually have no idea where the problem is coming from, that is why I am not applying any code, I tried a lot of things, but it just doesn't seem to work. When I load my app in the browser (doesn't matter which), and when I visit 7 or more…
Stiliyan
  • 176
  • 11
0
votes
1 answer

Slingshot fail to upload to S3

Slingshot package is used with Meteor to upload images to S3 directly from the client. Same code that I've used in other projects approved to be working. Even at my local setup, I can upload images to cloud, but not with its deployed version, which…
Emo
  • 580
  • 1
  • 8
  • 27
0
votes
0 answers

React Page Getting Weird Scaling in Responsive Mode

I’m seeing a weird scaling behavior in Chrome Developer Tools Responsive mode. The window.innerWidth is reporting 980 regardless of the actual window width (unless the actual width is over 980 – then it reports correctly). Below are three screen…
Bob D
  • 1
  • 1
0
votes
1 answer

Why does react slingshot repo uses both, Npm and yarn?

I was taking a look at the react slingshot starter kit and I couldn't understand why the project uses npm and yarn at the same time. The repo's url is: https://github.com/coryhouse/react-slingshot Can someone give me an explanation about that? I…
Leoni
  • 116
  • 9
0
votes
1 answer

Bootstrap 4 beta with react-slingshot

I'm really new with webpack and react, I'm trying to add bootstrap 4-beta on the react-slingshot. I'm looking for the proper way to do it. I seen bootstrap-loader but I have some trouble to include it on the webpack ( No error but no styles added )
Arnaud
  • 84
  • 1
  • 10
0
votes
1 answer

Production webpack build not finding CSS file

I have a React and Redux project using Webpack to build, and am trying to build for production for the first time. I built off of this project skeleton for my project. In my index.ejs file (the template webpack uses to build off of), I have this…
kibowki
  • 4,206
  • 16
  • 48
  • 74
0
votes
1 answer

Meteor Slingshot upload from serverside

All tutorials talk about uploading with slingshot from client side, is it possible to upload from serverside.
0
votes
1 answer

Errors when including simple component into App (react/redux)

I've got a boilerplate based on https://github.com/coryhouse/react-slingshot/. I've removed the FuelSavings app and replaced it with one that works OK - but I wrote a component, and when I include it under the App, it prevents anything from…
charlie
  • 181
  • 13
-1
votes
1 answer

integrate flow checking into react-slingshot

I have a project based on https://github.com/coryhouse/react-slingshot I want to integrate flow into the npm start script so that upon running the start script it starts the flow server, by running flow command, and then runs the flow command on…
Jack Allan
  • 14,554
  • 11
  • 45
  • 57