-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap for version 3.0 #6475
Comments
Not sure if it is a good place to ask, but.. could you share your intentions regarding RHL support? Can we expect it to be supported out of the box? |
It would be nice if these two css features get included too:
|
@miraage I do not have any information to share about hot loader support. @amshtemp Both of those issues are just proposals with no PR so it's very unlikely they will be included. This is going to be a small release because we need to upgrade Jest due to the security issue with Jest 23. Once this is out we will immediately start work on version 4.0 so it's possible these features could be included then. |
Regrading the Typescript aliases (#6116) could the team give a little bit more details about how you would like this to work? There are still some questions/inconsistencies that I need some clarity on before I can continue working on the aliases part. |
With hooks, it seems like class-based components will be used less and less. Should the default App component be function-based? (references #6451) |
@cassiozen Yes, we will want to convert the template component to a function for v3. I'll add that to the list. |
love it! |
Any thoughts about supporting webpackPrefetch? |
Load PostCSS config file from project root directory if exists ? |
Search available port to start webpack dev server if port is not specified in env |
We've just published the first alpha release of Create React App 3.0! This issue has been updated with instructions on testing the new release. If you encounter any problems please create a new issue instead of commenting here. Thanks! |
@raRaRa please follow #3319 for updates on this. We're waiting on jantimon/html-webpack-plugin#1014 to support this. |
@raix That doesn't necessarily mean it will be included. We're considering it but we're also hoping to get 3.0 final out pretty quickly. Anything that isn't critical to the release and isn't ready will be pushed to a future version. That isn't a breaking change so it can be released at any time. |
It seems that React @types are not installed by using --typescript flag. npx create-react-app@next --scripts-version=3.0.0-next.b0cbf2ca my-app --typescript |
@delasierra please file an issue. Let's keep this issue focused on the roadmap discussions. |
@voliva Even with |
We've just published a new alpha release of Create React App 3.0! This issue has been updated with instructions on testing the new release. If you encounter any problems please create a new issue instead of commenting here. Notable changes since the last alpha
Refer to the 3.0 Milestone to see exactly what is included in this release. |
Not sure where the best place to open an issue is for an alpha build, but I noticed strange behavior after updating to latest alpha trying my test coverage script. Instead of running a coverage report it seems to be entering watch mode. Here is a reproducible repo. https://github.com/jkdowdle/creact-react-app-3.0.0-next.68-test-coverage-issue
|
@jkdowdle Please file this as a new issue so we can track it properly. |
I read the “Nice to Have Features” for the 3.0 release, and was wondering whether these PR’s qualify:
|
@jlarmstrongiv I don't think either of those features are going to make it into 3.0 but they're not breaking changes so we can include them in a 3.x release. |
I would suggest renaming this file to |
@devongovett it's a configuration file that is used by TypeScript's JavaScript language service. See http://code.visualstudio.com/docs/languages/jsconfig. If you still have concerns maybe we could create a separate issue and discuss? |
Yeah, Dan already corrected me on Twitter. Even so, I don’t think propagating that config file further outside of VSCode is a good idea for the same reasons. |
The file isn't unique to VS Code. Code just happens to have TypeScript baked in 😛. But yeah let's fire up a separate issue to discuss if you prefer! |
@devongovett, as @ianschmitz said we're definitely open for discussion in an issue :)
As I understand it, your concern is more that you'd like to see a config file for |
Very excited about CRA 3.0 especially about the eslint-hooks plugin 🎉 |
I don't really mind if there is or isn't a CRA specific config, I am mostly concerned with propagating a non-standard config masquerading as a standard one. It will cause confusion for people using other tools that support JavaScript but do not support this config file. |
We can specifically mention that in the documentation. But a standard needs to start somewhere, vscode has a huge user base and these users will benefit from a configuration that keeps their IDE and build tool in sync with things like auto completion. Having our own configuration file will not do that. |
Again, feel free to open an issue to discuss this further @devongovett. |
What are the breaking changes? |
Any chance we see #6280 making it in? Suppose its more under the nice to have. But PR seems ready and opens up a bit of possibilities when running multiple CRA apps locally |
…es v4 when we can use baseUrl instead - facebook/create-react-app#6475
We just published Create React App 3.0! See the release notes for details about everything that's included and instructions on upgrading your apps. Big thanks to everyone who contributed to this release and helped test the alphas! 🎉 |
We are planning to release Create React App version 3.0 soon. This will be a relatively small release but will include a number of necessary breaking changes.
Planned Features
jsconfig.json
/tsconfig.json
: Set baseUrl from jsconfig.json/tsconfig.json #6656Nice to Have Features
Refer to the 3.0 Milestone to see exactly what is included in this release.
☢️ How Can I Test This Now? ☢️
We're happy you'd like to test the next version of
react-scripts
! Before getting into the details, we'd like to make you aware of a few things:You can install the latest alpha version of
react-scripts
using one of the following commands:Upgrading from 2.0 to 3.0
The
browserslist
config in yourpackage.json
is now used to control the output of your JavaScript files. You can use separate configuration fordevelopment
andproduction
. Seecreate-react-app/packages/react-scripts/package.json
Lines 83 to 94 in b0cbf2c
We now have linting support for TypeScript files! If you're using Visual Studio Code, see https://github.com/facebook/create-react-app/blob/master/docusaurus/docs/setting-up-your-editor.md#displaying-lint-output-in-the-editor for tips to get syntax highlighting from the ESLint extension in your
.ts
and.tsx
filesWe now support setting
basePath
injsconfig.json
. To configurebasePath
to point to thesrc
directory create ajsconfig.json
file in your project root:Known Issues in 3.0 Alphas
File watching issue with Jest 24: Update Jest to fix watch bug #6646Please report any bugs you encounter or behavior you believe to be incorrect by creating a new issue. Have fun!
The text was updated successfully, but these errors were encountered: