create-universal-react-app icon indicating copy to clipboard operation
create-universal-react-app copied to clipboard

CRA 3.3.0

Open VegtMedia-Alex opened this issue 5 years ago • 4 comments

Hi @jamesknelson ,

When do you expect to bump CURA to 3.3.0?

https://github.com/facebook/create-react-app/releases/tag/v3.3.0

VegtMedia-Alex avatar Dec 06 '19 07:12 VegtMedia-Alex

I plan on having a look this weekend, but not sure if I'll get it finished. The thing about 3.3.0 is that it adds template support, and CURA is basically a custom template, so it's a much much bigger change than the previous release.

I think what needs to happen is that the create-universal-react-app script itself can be dropped, and the whole thing can be set up as two new CRA templates (SSR JS and SSR TS). These templates can then replace react-scripts with universal-react-scripts.

If you'd like to take a look, I'd certainly be happy to accept a PR ;)

jamesknelson avatar Dec 06 '19 08:12 jamesknelson

Maybe in time I can help you out with PRs of this kind, but for know I still need to learn a lot :)

Excited about the 3.3.0 release though ;)

VegtMedia-Alex avatar Dec 06 '19 08:12 VegtMedia-Alex

Any updates on this?

gut4 avatar Feb 06 '20 11:02 gut4

I took a look at it and found that it's going to be a little unwieldy, as instead of just specifying a scripts-version, you'll now need to specify a matching template.

For now, I've created this issue on CRA to try and help resolve this: https://github.com/facebook/create-react-app/issues/8335. If there's no response soon though, I may just implement this the ugly way where you need to specify a separate template.

jamesknelson avatar Feb 12 '20 02:02 jamesknelson