Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untouched sample not working with routers #5

Open
chr0m1ng opened this issue Oct 19, 2020 · 0 comments
Open

Untouched sample not working with routers #5

chr0m1ng opened this issue Oct 19, 2020 · 0 comments

Comments

@chr0m1ng
Copy link

The repo sample isn't working with routers.

Running in a router at Blip with ngrok we got this error:

image

Uncaught (in promise) Error: Objects are not valid as a React child (found: object with keys {type, template}). If you meant to render a collection of children, use an array instead.
    in td (at BlipTableComponent.jsx:89)
    in tr (at BlipTableComponent.jsx:81)
    in tbody (at BlipTableComponent.jsx:70)
    in table (at BlipTableComponent.jsx:39)
    in BlipTableComponent (at BlipTableContainer.js:63)
    in BlipTableContainer (at App.js:76)
    in div (at App.js:75)
    in div (at App.js:54)
    in div (at PageTemplateComponent.jsx:9)
    in div (at PageTemplateComponent.jsx:8)
    in PageTemplateComponent (at App.js:53)
    in div (at App.js:51)
    in CommonProvider (at App.js:50)
    in App (at src/index.js:20)
    at throwOnInvalidObjectType (react-dom.development.js:14748)
    at reconcileChildFibers (react-dom.development.js:15606)
    at reconcileChildren (react-dom.development.js:18089)
    at updateHostComponent (react-dom.development.js:18611)
    at beginWork$1 (react-dom.development.js:20193)
    at HTMLUnknownElement.callCallback (react-dom.development.js:336)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:385)
    at invokeGuardedCallback (react-dom.development.js:440)
    at beginWork$$1 (react-dom.development.js:25780)
    at performUnitOfWork (react-dom.development.js:24698)
    at workLoopSync (react-dom.development.js:24671)
    at performSyncWorkOnRoot (react-dom.development.js:24270)
    at react-dom.development.js:12199
    at unstable_runWithPriority (scheduler.development.js:697)
    at runWithPriority$2 (react-dom.development.js:12149)
    at flushSyncCallbackQueueImpl (react-dom.development.js:12194)
    at flushSyncCallbackQueue (react-dom.development.js:12182)
    at scheduleUpdateOnFiber (react-dom.development.js:23709)
    at dispatchAction (react-dom.development.js:17076)
    at fetchApi (App.js:32)
    at 9a2e0f539fc2.ngrok.io/async https:/9a2e0f539fc2.ngrok.io/static/js/main.chunk.js:112
    at async withLoading (commomService.js:15)

Steps to reproduce:

  • clone the repo
  • npm i
  • npm start
  • use ngrok and add to some router bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant