“SyntaxError: Cannot use import statement outside a module” error with createContext and useReducer Post date August 29, 2024 Post author By Christopher McClister