Code Monkey home page Code Monkey logo

isomorphic-tutorial's Issues

Cannot find module ../app/router/middleware

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.

Multiple POSTS on form submission

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.

`callback()`: TypeError: string is not a function

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:

  • /posts
  • /posts/:id

I'll submit a clean pull request to fix this in a bit.

:{D

question: shared routing / api calls

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.

Q: looking for tuto writer

I am looking for enthusiastic developers to write tutorials on SAP technologies (HANA, UI5).
If you want to

  1. learn something new and gain expertise
  2. have the opportunity to travel (you might be invited to talk at conferences and workshops)
  3. earn some extra money
    then fill in this quick application form! http://bit.ly/22fJ9Ze

React event listeners

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.

Didn't work on NodeJS v6

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.