DEV Community

Discussion on: Why is my "hello world" disappearing after adding the connection code from MongoDB Atlas in my REACT app?

Collapse
 
elindo586 profile image
Edgar Lindo • Edited

Apparently it doesn't like the import {render} syntax

and I don't know why I can't even upload an image... but this is the error:

Compiled with problems:X

ERROR in ./src/index.js 8:0-6

export 'render' (imported as 'render') was not found in 'react' (possible exports: Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version)