GithubHelp home page GithubHelp logo

Comments (3)

Can-Sahin avatar Can-Sahin commented on May 7, 2024 2

Unfortunately no. They are actually very different even though file patterns look similar and generalized approach for migration wouldn't work since all the projects are you know unique :)

I am also migrating to this in my projects slowly. What I am doing is:

  • Creating an empty application with this template inside my project
  • First carrying everything inside but the app folder, like store, locales, themes, package.json... and making sure it has minimal errors.

Up until here is not that hard. But the app folder your containers etc are totally project dependent. I am also switching to hooks so I literally go page by page.

from react-boilerplate-cra-template.

Can-Sahin avatar Can-Sahin commented on May 7, 2024 1

"The best way" doesnt exists :( Its totally up to your 'engineering' skills I'd say. Even though this boilerplate has certain folder architecture and structure they can be bend easily. Don't force yourself to obey all the guides here. I see lot of people blindly forcing themselves to the exact same structure. Here the most beneficial part is the 'separation and isolation of functionality'. Just try to get it done right. Then it would be much simpler to implement i18n themes injected redux and saga.

So if your project is already follows the same principles I normally go feature by feature transition. I create a default boilerplate within my project and slowly transfer the features(like pages, login mechanisms, themes). Its painful and not fun at all. But much better in the long run.

from react-boilerplate-cra-template.

rockiger avatar rockiger commented on May 7, 2024

@Can-Sahin Could you elaborate on that? I posted a similar question on Spectrum.

For me, React-Boilerplate a kind of enlightenment and I really appreciate, that you continue development and bring react boilerplate together with CRA.

Having said that, I was wondering, what is the best way to move existing projects to react boilerplate? I think there is tremendous value in bringing homegrown project to a better structure with react boilerplate.

from react-boilerplate-cra-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.