T
T
titanium4februa2017-10-05 15:25:45
React
titanium4februa, 2017-10-05 15:25:45

Where is the best place to store image data in a React/Redux app?

There is a React/Redux application that has functionality for loading images via FileReader. After the image is uploaded, I get it as dataUrl. So, where is the best place to save this data if it will be used in the future in several React components for rendering to Canvas? Storing a relatively large amount of data in the Redux Store seems like a bad idea. At the same time, if the image data is saved somewhere else, then the "one source of true" idea breaks down. Does anyone have any suggestions?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question