menu
Channels
Team
Posts
Members
Info
down-caret

Welcome to the Create React App community!

We're creating this community on Spectrum as a place to get help with Create React App and discuss ideas and plans for the future. We'll still use GitHub issues and PRs to report bugs and track development of new features. This kind of community forum is new for Create React App…

thumbsup
4
message-simple
0

Embed react component into website.

Hi, I'm trying to create a react component which is going to render a google maps frame, a search field and a result list. Basically to search, see results and see them on the map. Today the component is created but we're using a lot different libs like react-router,…

thumbsup
0
message-simple
3

Storybook Storyshots issues?

Has anyone else had problems using Storybook Storyshots with a static build of your Storybook? It works fine if I set storybookUrl to the local URL (http://localhost:9009/), but when I set it to use the local build (path.resolve('public')), I just get a bunch of these errors: I…

thumbsup
0
message-simple
0

Guide on how to deploy build folder to Drupal7

I have an issue while deplying the App made with react-create-app to Drupal. I have included the entire static folder inside Drupal, using relative homepage. I'm able to load images. The App is fetching the data correctly and rendering Ok, but it's not interactive. I click…

thumbsup
0
message-simple
0

Tests have started stalling out

Whenever I would run all my tests, it used to take maybe 2s, now it takes over 2034 and never completes. Anyone else getting this?

thumbsup
0
message-simple
0

How to publish create react app as NPM package

I am using Create React App for developing Reusable UI library. I am using SCSS for styling my components. I also have some assets files like font. There are many articles regarding publishing NPM package from create react app, In most of them, they are using just babel to…

thumbsup
0
message-simple
0

Internal module imports and tree shacking: slow build/test time

Hi 👋 I have been using CRA for 9 months on the same project which is of a decent size now. I am taking the time to tackle some tech debt at the moment and to optimize the build time for dev and tests. TLDR: Running one test from one test file takes about 10 seconds. No matter…

thumbsup
0
message-simple
1

CRA with typescript stopped type checking

I have a TypeScript/React application that I bootstrapped with create-react-app. It used to do type checking when I ran yarn start, but recently it stopped. Now it just compiles and runs without type checking. I have no idea why it would have stopped, especially since I have…

thumbsup
0
message-simple
3

How to debug: `npm run build` -> Cannot find module: '@myapp/components' ??

Obviously '@myapp/components' is installed and it exists in node_modules and in package.json No matter what I try (rm -fr node_modules and package-lock.json, fresh create-react-app) a build produced from create-react-app will fail. This library imports fine in a non-react app. …

thumbsup
0
message-simple
0

PUBLIC_URL for homepage

Hi guys! How I can use PUBLIC_URL env variable in package.json (for homepage). Thanks for help!

thumbsup
0
message-simple
1

window is not defined - react-scripts 3.1.1

Describe the bug Uncaught ReferenceError: window is not defined Environment …

thumbsup
0
message-simple
0