You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that you a JSX version in src/main/resources/jsx/commentBox.js, but I can't find any information regarding how it's being used in the spring boot example (if used at all).
I made some local modifications in your original React.java in order to be able load the jsx verison, but it's quite far from being ideal.
What I'm trying to achieve is to have a simple project, in which one could easily modify .jsx files and the changes would be visible without needing to restart the spring boot "appserver".
Nice, you should mention that in your article. While it might be obvious for some, it may not be that obvious for many.
Btw I had to use "--no-cache-dir" jsx flag. Without it my browser didn't see any changes in situations where I made a change, saved, reverted the change, saved again.
Activity
winterbe commentedon Apr 28, 2015
I've used the JSX command line tools as mentioned here: https://facebook.github.io/react/docs/tooling-integration.html#productionizing-precompiled-jsx
You can simply watch the folder for changes on jsx files:
jsx --watch src/ build/brdloush commentedon May 1, 2015
Nice, you should mention that in your article. While it might be obvious for some, it may not be that obvious for many.
Btw I had to use
"--no-cache-dir"jsx flag. Without it my browser didn't see any changes in situations where I made a change, saved, reverted the change, saved again.