Giter Site home page Giter Site logo

Images about react-redux-boilerplate HOT 5 CLOSED

wahengchang avatar wahengchang commented on July 21, 2024
Images

from react-redux-boilerplate.

Comments (5)

wahengchang avatar wahengchang commented on July 21, 2024 1

I am sorry @developer239, it may take me more time to understand that, to commit a new version to fit the requirement. Because we use to upload images to cdn, that is why I did not encounter this situation.

from react-redux-boilerplate.

developer239 avatar developer239 commented on July 21, 2024 1

Yea cool :) I am working on boilerplate with ssr right now I might post an example once I am done. Hopefully by the end of the weekend.

from react-redux-boilerplate.

wahengchang avatar wahengchang commented on July 21, 2024

Do you mean copying image to public, and using in html tag ?

I usually put image in public directory, which is support by express: read more

such as

<img src="/public/logo.png" />

from react-redux-boilerplate.

developer239 avatar developer239 commented on July 21, 2024

The correct way in react would be importing static assets directly inside components using import or require. I was trying to make ssr hot reloading work with express but it is currently not possible because of images. The only right way how to make ssr work with hot reloading is by using webpack.

from react-redux-boilerplate.

 avatar commented on July 21, 2024

Hey @developer239
Could you please have a look at #8 if you are working on a version of this as the foundation of your boilerplate

from react-redux-boilerplate.

Related Issues (8)

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.