#27 Try REACTJS Tutorial - Crop Image in React

preview_player
Показать описание
#27 Try REACTJS Tutorial - Crop Image in React

-----

Рекомендации по теме
Комментарии
Автор

Hi man, nice video.I have some highlights .The first one console the state after calling the setState function can cause some problem.Setting a new state is asynchronous action.For that the setState function get second param, a callback function that will call after the state is changed : serState({}, ()=>{}).Second, I in es6 when you using a map\filter function in one line, like arr.map(item=>{return item.b}, you don't have to write the { or the the word return...arr.map(item=>a.b) will works just fine. Hope you will find that helpful

Ozo
Автор

very helpful. thanks much. just one quick question, how do I use it with react hooks?

naumantanwir
Автор

This was very helpful, thank you for this great video, I am using this in my project. Can you please provide an example to set style to the cropped area

anujshrivastava
Автор

Great video. I want to ask, can I be able to just capture the crop shape?

Akachi
Автор

It's really awesome very easy trick thank you so much 👌🏼👌🏼👌🏼

marimuthur
Автор

nice tutorial, btw can you use polygon to crop image instead rectangle?

eldominic
Автор

Great tutorial and very well explained

ceralguy
Автор

Can I pass default parameters instead of drag ? Hope to have an answer soon, thank you very much !

quangtrinhngoc
Автор

I am not able to preview the crop in the canvas.can you please explain as the canvas is not able to draw the cropped portion

alfurquanzahedi
Автор

Hi is this functional for React on Ionic?

eoghanfeighery
Автор

My React Cropper Outline is not coming when using it

harshitmobcoder
Автор

Hi, I watch your videos, they're very helpful, can you create a video about Pagination?

mykhailozakhariak
Автор

how can i make the crop square a circle instead?

devongrey
Автор

can you provide image crop and rotate also

govindarao
Автор

How did you resolve the errors with the css file

shivampurohit
Автор

i did it on a pwa app, react-image-crop is shit on mobile, because the image quality drops alot...

a_m_dev