Closed tcoopman closed 9 years ago
Sorry for the delay. Yes we should add examples.
An example would be really helpful!
I couldn't find out how to render submodules. Got my views/index.jsx
working by looking at the tests. But now I'm trying to call render a module <Head />
which lies in view/head.jsx
. The error is this:
ReferenceError: Head is not defined: Head is not defined
How to specify it?
Ha, found it! A var Head = require('./head.jsx');
was missing! :)
1+ anyone working on some examples?
Apologies for letting this thread go without attention. You can see hapi-react-views
in action in Aqua. But we do need to create some examples for this repo.
:tada: Examples have been added to the README :confetti_ball: https://github.com/jedireza/hapi-react-views#examples
Is it possible to create an example. If possible a somewhat complex example with multiple components and working client side injecting of React (with renderToString)?