We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I work on the Solid Lightning and added the universal rendering support.
I have the playground working with:
import { renderSync as render, View, Text, startLightning } from "@lightningjs/solid" await startLightning(); render(() => ( <View width="1920" height="1080"> <View width="800" height="350" color="0x4169e1ff"/> <Text>Hello World</Text> </View> ));
Setting output to universal mode.
However, when I replace View or Text function component with node or text (simple element) like so:
import { renderSync as render, View, Text, startLightning } from "@lightningjs/solid" await startLightning(); render(() => ( <View width="1920" height="1080"> <View width="800" height="350" color="0x4169e1ff"/> <text>Hello World</text> </View> ));
The output shows correctly:
But when the code runs however, it doesn't work and the debugger shows the code as:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I work on the Solid Lightning and added the universal rendering support.
I have the playground working with:
Setting output to universal mode.
However, when I replace View or Text function component with node or text (simple element) like so:
The output shows correctly:
But when the code runs however, it doesn't work and the debugger shows the code as:
The text was updated successfully, but these errors were encountered: