Issue running flux-todomvc example
Hi,
I was trying to run the flux-todomvc example and followed the instructions but it didn't work. I found that reactify requires / * * @jsx React.DOM */ to be the first line in any .jsx/.js files. Once I added the directive to the top of all the components I was able to get it to work.
Is this just me?
Frank
I was not able to get it work even with this modification + it throws me "'STATIC_ROOT' is not recognized as an internal or external command, operable program or batch file." (I'm using Win7).
thanks @fattenap -- I think something in the JSX transformation must have changed. I've updated all the React components to reflect what you found. @nobodyguy -- not sure why this is happening for you. I'll need to investigate that further.
@fisherwebdev thanks a lot. If you need any information or help with investigating, just let me know.
I just tried last version of todo example and the only thing that didn't work is the STATIC_ROOT variable in package.json, because you can't define variables in Windows this way. So, if I change it to "set STATIC_ROOT=./static & watchify -o js/bundle.js -v -d .", it works as expected. Btw, is STATIC_ROOT really needed?
Removed statics. https://github.com/facebook/flux/commit/b3f53b179f58e9ec2b221574abdb621c4005fd50