Comments (5)
This issue has been tagged with the not-enough-information
label. In order for us to help you,
please respond with the following information:
- A description of the problem, including any relevant error output that can find.
- A full repro, if possible. Otherwise, steps to reproduce.
- The versions of the packages that you are using.
- The operating system that you are using.
- The browser or environment where the issue occurs.
If we receive no response to this issue within 2 weeks, the issue will be closed. If that happens,
feel free to re-open with the requested information. Thank you!
from rapscallion.
Hey @aga5tya. We don't have any ready-made Koa examples, but the response objects should all operate the same under the hood. Need more information to determine if this is a bug or if there's something missing on your end.
from rapscallion.
@divmain, Apologize for not sharing complete details, il push a repro in sometime. Probably something to do with the way I'm implementing.
from rapscallion.
@divmain I have pushed in a repro below, "yarn install && yarn run develop" should get the application up.
https://github.com/aga5tya/react-universally/tree/feature/rapscallion-integration
Key changes i did are at this commit.
aga5tya/react-universally@4183a50
Let me know if you need any clarifications :)
from rapscallion.
@aga5tya Without knowing the specific error or symptoms you're seeing, from the commit you posted I believe I see two potential issues:
ServerHTML
appears to be a react component that returns a rapscallion renderer (by invokingtemplate
). This will not work, as the React renderer expects a React element to be returned from the render method (or a stateless functionial component in this case).- I don't think this would cause any issues, but you do not need to embed renderers inside your template literal if they have the same options as their parent renderer (the template literal in this case). You can just embed your components or functions that return components in the literal.
I'm closing this issue, as I believe 1) above should be a good start for your issue. Please feel free to reopen if you are still having issues and please post as much information, including the error, as possible. Thanks.
from rapscallion.
Related Issues (20)
- dangerouslySetInnerHTML fails with arrays
- BC break (regression?): injectDOMPropertyConfig HOT 5
- promise-based rendering. sometimes hangs HOT 9
- TypeError: (("document.querySelector.... is not a function HOT 2
- Invalid non-string/buffer chunk HOT 6
- Unhandled rejection TypeError: Unknown node of type: undefined HOT 1
- Support middleware transforms
- It doesnt seem to work with ImmutableJS HOT 6
- Plan to migrate to react@16? HOT 5
- Build without Bluebird? HOT 5
- Warning: render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup. HOT 3
- Runaway promise error when using this library with Bluebird HOT 6
- Can I be of service with React 16? HOT 17
- can i use this with ie9?
- Issue with <select> tags - <select value=""> is not moved to <option selected>
- Async Cache Misses Render Empty or Out of Order HOT 5
- Promise not being Rejected on error? HOT 2
- Discrepancies in attributes rendering
- Is there a redux example for rapscallion? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapscallion.