Click here to Skip to main content
16,019,435 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: WebView2 - Send Script with a Value Pin
Alan Burkhart7-Jul-22 14:05
Alan Burkhart7-Jul-22 14:05 
GeneralRe: WebView2 - Send Script with a Value Pin
Richard Deeming7-Jul-22 21:42
mveRichard Deeming7-Jul-22 21:42 
GeneralRe: WebView2 - Send Script with a Value Pin
Alan Burkhart8-Jul-22 0:24
Alan Burkhart8-Jul-22 0:24 
QuestionRotate text Pin
Rockallica13-Jun-22 13:57
Rockallica13-Jun-22 13:57 
AnswerRe: Rotate text Pin
Graham Breach13-Jun-22 20:58
Graham Breach13-Jun-22 20:58 
GeneralRe: Rotate text Pin
Rockallica14-Jun-22 8:38
Rockallica14-Jun-22 8:38 
QuestionLaravel 8 integred databending in JS Pin
paradox0210-Jun-22 7:13
paradox0210-Jun-22 7:13 
Questionissue with my app Pin
james michael May20225-Jun-22 2:27
james michael May20225-Jun-22 2:27 
hi am geting this error
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: <h2 />. Did you accidentally export a JSX literal instead of a component?
    at App
console.<computed> @ index.js:1
printWarning @ react-jsx-dev-runtime.development.js:97
error @ react-jsx-dev-runtime.development.js:71
jsxWithValidation @ react-jsx-dev-runtime.development.js:1242
App @ App.js:7
renderWithHooks @ react-dom.development.js:16175
mountIndeterminateComponent @ react-dom.development.js:20913
beginWork @ react-dom.development.js:22416
beginWork$1 @ react-dom.development.js:27381
performUnitOfWork @ react-dom.development.js:26513
workLoopSync @ react-dom.development.js:26422
renderRootSync @ react-dom.development.js:26390
performConcurrentWorkOnRoot @ react-dom.development.js:25694
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
run @ setImmediate.js:40
runIfPresent @ setImmediate.js:69
onGlobalMessage @ setImmediate.js:109
postMessage (async)
registerImmediate @ setImmediate.js:120
setImmediate @ setImmediate.js:27
schedulePerformWorkUntilDeadline @ scheduler.development.js:564
requestHostCallback @ scheduler.development.js:588
unstable_scheduleCallback @ scheduler.development.js:441
scheduleCallback$1 @ react-dom.development.js:27491
ensureRootIsScheduled @ react-dom.development.js:25639
scheduleUpdateOnFiber @ react-dom.development.js:25428
updateContainer @ react-dom.development.js:28804
push../node_modules/react-dom/cjs/react-dom.development.js.ReactDOMHydrationRoot.render.ReactDOMRoot.render @ react-dom.development.js:29216
(anonymous) @ index.js:7
./src/index.js @ index.js:8
__webpack_require__ @ bootstrap:851
fn @ bootstrap:150
1 @ index.js:8
__webpack_require__ @ bootstrap:851
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.chunk.js:1
react-dom.development.js:28389 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `App`.
    at createFiberFromTypeAndProps (react-dom.development.js:28389:1)
    at createFiberFromElement (react-dom.development.js:28415:1)
    at createChild (react-dom.development.js:14979:1)
    at reconcileChildrenArray (react-dom.development.js:15274:1)
    at reconcileChildFibers (react-dom.development.js:15691:1)
    at reconcileChildren (react-dom.development.js:19964:1)
    at updateHostComponent$1 (react-dom.development.js:20733:1)
    at beginWork (react-dom.development.js:22447:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4161:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at beginWork$1 (react-dom.development.js:27405:1)
    at performUnitOfWork (react-dom.development.js:26513:1)
    at workLoopSync (react-dom.development.js:26422:1)
    at renderRootSync (react-dom.development.js:26390:1)
    at performConcurrentWorkOnRoot (react-dom.development.js:25694:1)
    at workLoop (scheduler.development.js:266:1)
    at flushWork (scheduler.development.js:239:1)
    at performWorkUntilDeadline (scheduler.development.js:533:1)
    at run (setImmediate.js:40:1)
    at runIfPresent (setImmediate.js:69:1)
    at onGlobalMessage (setImmediate.js:109:1)
createFiberFromTypeAndProps @ react-dom.development.js:28389
createFiberFromElement @ react-dom.development.js:28415
createChild @ react-dom.development.js:14979
reconcileChildrenArray @ react-dom.development.js:15274
reconcileChildFibers @ react-dom.development.js:15691
reconcileChildren @ react-dom.development.js:19964
updateHostComponent$1 @ react-dom.development.js:20733
beginWork @ react-dom.development.js:22447
callCallback @ react-dom.development.js:4161
invokeGuardedCallbackDev @ react-dom.development.js:4210
invokeGuardedCallback @ react-dom.development.js:4274
beginWork$1 @ react-dom.development.js:27405
performUnitOfWork @ react-dom.development.js:26513
workLoopSync @ react-dom.development.js:26422
renderRootSync @ react-dom.development.js:26390
performConcurrentWorkOnRoot @ react-dom.development.js:25694
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
run @ setImmediate.js:40
runIfPresent @ setImmediate.js:69
onGlobalMessage @ setImmediate.js:109
postMessage (async)
registerImmediate @ setImmediate.js:120
setImmediate @ setImmediate.js:27
schedulePerformWorkUntilDeadline @ scheduler.development.js:564
requestHostCallback @ scheduler.development.js:588
unstable_scheduleCallback @ scheduler.development.js:441
scheduleCallback$1 @ react-dom.development.js:27491
ensureRootIsScheduled @ react-dom.development.js:25639
scheduleUpdateOnFiber @ react-dom.development.js:25428
updateContainer @ react-dom.development.js:28804
push../node_modules/react-dom/cjs/react-dom.development.js.ReactDOMHydrationRoot.render.ReactDOMRoot.render @ react-dom.development.js:29216
(anonymous) @ index.js:7
./src/index.js @ index.js:8
__webpack_require__ @ bootstrap:851
fn @ bootstrap:150
1 @ index.js:8
__webpack_require__ @ bootstrap:851
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.chunk.js:1
index.js:1 Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: <h2 />. Did you accidentally export a JSX literal instead of a component?
    at App
console.<computed> @ index.js:1
printWarning @ react-jsx-dev-runtime.development.js:97
error @ react-jsx-dev-runtime.development.js:71
jsxWithValidation @ react-jsx-dev-runtime.development.js:1242
App @ App.js:7
renderWithHooks @ react-dom.development.js:16175
mountIndeterminateComponent @ react-dom.development.js:20913
beginWork @ react-dom.development.js:22416
beginWork$1 @ react-dom.development.js:27381
performUnitOfWork @ react-dom.development.js:26513
workLoopSync @ react-dom.development.js:26422
renderRootSync @ react-dom.development.js:26390
recoverFromConcurrentError @ react-dom.development.js:25806
performConcurrentWorkOnRoot @ react-dom.development.js:25706
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
run @ setImmediate.js:40
runIfPresent @ setImmediate.js:69
onGlobalMessage @ setImmediate.js:109
postMessage (async)
registerImmediate @ setImmediate.js:120
setImmediate @ setImmediate.js:27
schedulePerformWorkUntilDeadline @ scheduler.development.js:564
requestHostCallback @ scheduler.development.js:588
unstable_scheduleCallback @ scheduler.development.js:441
scheduleCallback$1 @ react-dom.development.js:27491
ensureRootIsScheduled @ react-dom.development.js:25639
scheduleUpdateOnFiber @ react-dom.development.js:25428
updateContainer @ react-dom.development.js:28804
push../node_modules/react-dom/cjs/react-dom.development.js.ReactDOMHydrationRoot.render.ReactDOMRoot.render @ react-dom.development.js:29216
(anonymous) @ index.js:7
./src/index.js @ index.js:8
__webpack_require__ @ bootstrap:851
fn @ bootstrap:150
1 @ index.js:8
__webpack_require__ @ bootstrap:851
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.chunk.js:1
react-dom.development.js:28389 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `App`.
    at createFiberFromTypeAndProps (react-dom.development.js:28389:1)
    at createFiberFromElement (react-dom.development.js:28415:1)
    at createChild (react-dom.development.js:14979:1)
    at reconcileChildrenArray (react-dom.development.js:15274:1)
    at reconcileChildFibers (react-dom.development.js:15691:1)
    at reconcileChildren (react-dom.development.js:19964:1)
    at updateHostComponent$1 (react-dom.development.js:20733:1)
    at beginWork (react-dom.development.js:22447:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4161:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at beginWork$1 (react-dom.development.js:27405:1)
    at performUnitOfWork (react-dom.development.js:26513:1)
    at workLoopSync (react-dom.development.js:26422:1)
    at renderRootSync (react-dom.development.js:26390:1)
    at recoverFromConcurrentError (react-dom.development.js:25806:1)
    at performConcurrentWorkOnRoot (react-dom.development.js:25706:1)
    at workLoop (scheduler.development.js:266:1)
    at flushWork (scheduler.development.js:239:1)
    at performWorkUntilDeadline (scheduler.development.js:533:1)
    at run (


this my index.js
import ReactDOM from 'react-dom/client';

import './index.css';
import App from './App';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<App />);

QuestionDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Pin
Member 1564789823-May-22 19:35
Member 1564789823-May-22 19:35 
AnswerRe: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Pin
Richard Deeming23-May-22 21:19
mveRichard Deeming23-May-22 21:19 
PraiseQ Pin
Daniyar Saydullaev22-May-22 7:00
Daniyar Saydullaev22-May-22 7:00 
AnswerRe: JAVA Assigtment help for 100$ 1h help needed Pin
Richard MacCutchan22-May-22 21:46
mveRichard MacCutchan22-May-22 21:46 
QuestionLookup against a large SharePoint list with CAML Query Pin
Hilario Dsouza6-May-22 9:41
Hilario Dsouza6-May-22 9:41 
QuestionReact.Js Pin
Regis Valoch Tangou1-May-22 6:14
Regis Valoch Tangou1-May-22 6:14 
AnswerRe: React.Js Pin
timDeHof3-Jul-22 3:30
timDeHof3-Jul-22 3:30 
QuestionAngular exceljs adding an image gives the error: u.readFile is not a function at exceljs.min.js:3:449768 Angular application Pin
Stephen Holdorf25-Apr-22 8:54
Stephen Holdorf25-Apr-22 8:54 
AnswerRe: Angular exceljs adding an image gives the error: u.readFile is not a function at exceljs.min.js:3:449768 Angular application Pin
Richard Deeming25-Apr-22 21:10
mveRichard Deeming25-Apr-22 21:10 
QuestionDisappearing linked drop-down menus Pin
gosipp24-Apr-22 11:59
gosipp24-Apr-22 11:59 
AnswerRe: Disappearing linked drop-down menus Pin
Richard MacCutchan24-Apr-22 21:39
mveRichard MacCutchan24-Apr-22 21:39 
GeneralRe: Disappearing linked drop-down menus Pin
gosipp24-Apr-22 21:42
gosipp24-Apr-22 21:42 
QuestionReloading a wav file after ended Pin
Burketa219-Apr-22 7:24
Burketa219-Apr-22 7:24 
AnswerRe: Reloading a wav file after ended Pin
Richard Deeming19-Apr-22 21:30
mveRichard Deeming19-Apr-22 21:30 
QuestionHow to convert tagged text into html formatted text? Pin
Alex Dunlop18-Apr-22 19:25
Alex Dunlop18-Apr-22 19:25 
QuestionLoops, someone to help me Pin
FranciscaNunes200412-Apr-22 10:30
FranciscaNunes200412-Apr-22 10:30 
AnswerRe: Loops, someone to help me Pin
Richard MacCutchan12-Apr-22 21:16
mveRichard MacCutchan12-Apr-22 21:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.