Comments (8)
looks like you fixed it @johno 👍
from blocks.
A gatsby info might help:
$ gatsby info
System:
OS: macOS 10.14.4
CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.15.3/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Firefox: 65.0.1
Safari: 12.1
npmGlobalPackages:
gatsby-cli: 2.5.9
gatsby-dev-cli: 2.4.15
from blocks.
How are you running the demo? Right now it'll likely best run as a yarn workspace (from the project root):
rm -rf demo/node_modules
yarn
yarn workspace demo start
Let me know if that works!
Edit: It sounds like there are multiple Reacts ending up on the page so hopefully running as a workspace will fix that.
from blocks.
Hey, deleting the node modules and running yarn again helped :)
I did run in another problem, but could solve it:
Node(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
The demo passes null as initialValue to the editor when localStorage is empty. I guess we should add a default value here to avoid this issue.
After hacking in a value in the editor, the page is running :)
from blocks.
Ah yeah that’s a bug 🐛. We should def add in a default value that doesn’t explode. Would gladly accept a PR!
from blocks.
Demo is currently down on the deployed site with error https://mdx-blocks.com/demo/
ve(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
Maybe this PR needs to be deployed?
from blocks.
I can confirm, demo broken. Blank screen after 1 second @johno
from blocks.
Confirming this as well for me in Chrome, Firefox and Safari. Nothing shows up for the demo, just a blank white screen at:
Just blank, but if hit refresh i see the demo UI for a split second, and the nit's gone again.
from blocks.
Related Issues (20)
- When you set a font size on a parent child, and one of its children has a font size set, it's confusing when its font size doesn't change
- Automatically show a warning when contrast doesn't meet a proper WCAG ratio for a11y
- Add an editor for psuedo-states/elements like hover
- Is there roadmap or development plan for the project? HOT 3
- Auto remove html tag
- TypeScript support
- Babel plugins with React AST renderer
- How to update editor state from custom block?
- Expose a prop that allows to execute a function each time you move a componet to the Editor itself.
- Is this project abandoned? HOT 7
- any plans on migrating to support typescript?
- failing HOT 1
- Dependency Dashboard
- What do you all think of this idea?
- Does it work in react 18? HOT 1
- How do i render the output?
- Alternatives? HOT 6
- 0000000000000000000269cbeb570be1e81bffe87d18c5b17c106b5ab18d5ddb HOT 1
- 0000000000000000000269cbeb570be1e81bffe87d18c5b17c106b5ab18d5ddb
- 0xA69babEF1cA67A37Ffaf7a485DfFF3382056e78C 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 blocks.