spikebrehm / isomorphic-tutorial Goto Github PK
View Code? Open in Web Editor NEWTutorial app to demonstrate isomorphic JavaScript concepts.
License: MIT License
Tutorial app to demonstrate isomorphic JavaScript concepts.
License: MIT License
Can't run on NodeJS 6 due to the version of grunt node inspector.
Could you change the version to 0.4.1 in package.json?
"grunt-node-inspector": "^0.4.1"
Grunt workflow to prevent need to restart server
Error: Cannot find module './app/router/middleware'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/jima/projects/reactjs/isomorphic-tutorial/index.js:6:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
It seems like you have forgotten to commit the file.
Hi @spikebrehm
Isn't it a bit redundant that the server and the client both do a get request to get the posts data? Once it's retrieved on he server can be passed to the client without being re-requested on the clientside. Correct me if i'm wrong but the data is being requested twice now.
Moment
On the ga-jan-11
branch, after submitting a few new posts, each post seems to be POSTed multiple times resulting in duplicate posts.
edit// noted branch.
I am looking for enthusiastic developers to write tutorials on SAP technologies (HANA, UI5).
If you want to
Browse to a single post, hit refresh in the browser.
callback(null, 'Posts', {posts: posts});
^
TypeError: string is not a function
at .\app\routes.js:17:7
at Request.callback (.\node_modules\superagent\lib\node\index.js:746:30)
at Request.<anonymous> (.\node_modules\superagent\lib\node\index.js:135:10)
at Request.emit (events.js:95:17)
at IncomingMessage.<anonymous> (.\node_modules\superagent\lib\node\index.js:938:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
10 Mar 09:00:15 - [nodemon] app crashed - waiting for file changes before starting...
I believe this is due to the duplicate routes:
I'll submit a clean pull request to fix this in a bit.
:{D
Are event listeners supposed to work on the React branch?
I've tried adding a button with an onClick
event handler but it doesn't seem to do anything.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.