Code Monkey home page Code Monkey logo

Comments (3)

benweidig avatar benweidig commented on June 16, 2024 1

Also needing this I'm working on a pull request for this.

from tapestry-react.

jochenberger avatar jochenberger commented on June 16, 2024

Until someone proposes a better solution, the preferred way to do this is now

@ApplicationDefaults
@Contribute(SymbolProvider.class)
public static void overrideReact(final MappedConfiguration<String, Object> configuration) {
  configuration.add(ReactSymbols.REACT_ASSET_PATH, "webjars:react:$version/react-with-addons.js");
}

from tapestry-react.

jochenberger avatar jochenberger commented on June 16, 2024

From 0.17.1, there is a configuration symbol (de.eddyson.tapestry.react.ReactSymbols.USE_REACT_WITH_ADDONS or tapestry.react.use_react_with_addons) to toggle whether to use the build with or without addons. It defaults to false.

from tapestry-react.

Related Issues (15)

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.