spring-attic / tut-react-and-spring-data-rest

React.js and Spring Data REST :: A tutorial based on the 5-part blog series by Greg Turnquist
https://spring.io/guides/tutorials/react-and-spring-data-rest
883 stars 1.58k forks source link

Conditional lacks the require('when') to run in app.js #113

Open Oliver-Trieu opened 4 years ago

Oliver-Trieu commented 4 years ago

Title says it all. just add:

const when = require('when');

to the app.js in the conditional example to make it work.

marcelovidigal commented 4 years ago

I have to include "when": "^3.7.8" in package.json dependencies too.