简体   繁体   中英

How can we implement undo / redo, image Rotation & Zoom in & Zoom Out methods in react-native without using Redux

I am developing one sample application which includes images click or text dragging. I want to implement the UNDO and REDO functionality without using REDUX.

Please give me any sample demo those to methods, I researched about this methods. not get any luck.

Thanks in Advance

Please check this link for Zoom in/ Out.

https://github.com/ascoders/react-native-image-viewer

Check this writeup given on the Redux GH repo. -

https://github.com/reduxjs/redux/blob/master/docs/recipes/ImplementingUndoHistory.md

Also, check the links below for the different examples.

todos-with-undo

redux-undo

For Zoom In/ Out -

https://medium.com/@mheavers/animating-zoom-in-react-native-scroll-view-16587b35a064

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM