"SyntaxError: Cannot use import statement outside a module" error with createContext and useReducer Christopher McClister Posted on August 29, 2024