What should the hook not focus on




















A few students are great at writing hooks, but I suspect they are simply great at writing. Again, I understand the intent of teaching hooks for essays, but requiring them feels like a tacked-on challenge given everything else we throw at our students when we ask them to write.

What if you spent that instructional time making sure students have the fundamentals? A straightforward topic sentence sounds boring, I get it, but do your students know how to write one? Do they know how to take that sentence and go further with the topic adding context and relevant details?

Take stock of what you really want students to know how to do and it might shift how you spend your teaching time. One way to diffuse the emotion around hooks is to teach them separately from the essay itself. Give students random and even silly topics and have them brainstorm possible first sentences. With space to focus on enticing prospective readers, students are more likely to come up with the kind of creative, out-of-the-box first sentences you know they are capable of writing.

Consider giving extra credit for a compelling hook rather than making it a required element. This will encourage students to write hooks, but not penalize those students who find them difficult. Another option is to think about how you might teach students to write the hook last, as a finishing touch rather than a first step. Maria is a K learning specialist and educational therapist focused on intensive math intervention.

You must be logged in to post a comment. Here's an article demonstrating the problem. Update the key to an unchangeable value so React would have a stable reference to the list items. In my case I just updated it to the index. This is not ideal React docs recommend using a stable ID , but in my situation it was okay because the order of the items won't change. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Collectives on Stack Overflow. Learn more. React Hooks - Input loses focus when 1 character is typed in Ask Question. Asked 1 year, 10 months ago. Active 3 months ago. Viewed 10k times. Improve this question. Dragos Strugar Dragos Strugar 2 2 gold badges 8 8 silver badges 25 25 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Kasparas Anusauskas Kasparas Anusauskas 2 2 silver badges 6 6 bronze badges. This should be the answer.

This really works! But I don't understand why. Please, can you explain why your solution is working? AlfonsoTienda It works because I moved the FormComponent outside of the useForm function, so it always points to the same object contrary to a new object being created each call of useForm function. As a result, React no longer determines the whole DOM representation of FormComponent needs to be completely redrawn object is same, no changes except value of input.

Then, a flag "isFocused" or similar is no longer lost during the redraw. Remember, each time user inputs something, useForm is called by React with the updated state.

At least thats how I understand it. KasparasAnusauskas I wanted to test something cause I have also issue when change something in Parent, my child app lose focus on input filed. I created working example, Parent render children and children can change state of parent. I expected when I set parent state from children it will cause parent to re-render child component and to lose focus at that moment.

But I didn't lose focus in child component. Why that happened? Working example: codesandbox. Show 2 more comments. Kais Kais 1, 3 3 gold badges 21 21 silver badges 32 32 bronze badges. This is the best answer so far, in my case I haven't any parent rendering child component! The Fix Update the key to an unchangeable value so React would have a stable reference to the list items. Sign up or log in Sign up using Google.

Sign up using Facebook.



0コメント

  • 1000 / 1000