• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Log In
  • Sign Up
shovelend Avatar
Name:Attila Molnar
Clan:Findmypast
Member Since:Dec 2017
Last Seen:Jun 2020
Profiles:
Following:23
Followers:24
Allies:23
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (37)
  • Replies
  • Authored
  • Needs Resolution
  • Default User Avatar
    • aezakmi123
    • created an issue for "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    This Kata is completely incorrect. If you think React then you can't solve it.

  • Custom User Avatar
    • theewl
    • commented on "Control the Beast (controlled components in ReactJS)" kata

    exactly what i did lmaooo

  • Custom User Avatar
    • mokargas
    • commented on "Control the Beast (controlled components in ReactJS)" kata

    Appears to use React 15. So when I tried a hooks implementation, it failed.

    Consider upgrading to React 17

  • Custom User Avatar
    • mkkeems
    • commented on "Control the Beast (controlled components in ReactJS)" kata

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • sanderheieren
    • commented on "Control the Beast (controlled components in ReactJS)" kata

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • AliTaee
    • commented on "Control the Beast (controlled components in ReactJS)" kata

    It would be great if add label to this kata

    <label htmlFor="controlledName">Beast name:</label>
    
  • Custom User Avatar
    • Konstantin Modin
    • commented on "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    It is hard to understand task.

    I recieve an error :
    "should have a form with the id beastForm
    TypeError: Cannot set property 'value' of undefined"

    I do have form with id beastForm.

  • Custom User Avatar
    • Aulden
    • commented on "Control the Beast (controlled components in ReactJS)" javascript solution

    To be fair, it's not really a bad practice. It's just not necessarily as performant. In a case like this it shouldn't really matter

  • Custom User Avatar
    • joseph-d-p
    • commented on "Control the Beast (controlled components in ReactJS)" javascript solution
    onChange={e => this.setState({ name: e.target.value })}
    

    Not a good practice to pass an anonymous function.

  • Default User Avatar
    • VKen
    • created an issue for "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    I think this kata's test cases are incomplete.

    For my submitted (incorrect) solution, I've actually just submitted the beast value input by the test case in the beginning. The form input element's value is not used.

    In a practical world where humans are inputing the form, I would have to read the form input value, then submit and run the requested function using that value.
    The test cases did not use the input element to input value, hence I found my "wrong" solution accepted just using the test-case-injected value.

    Also, please update to >= React v16.4.x

    There is React.createRef already. Kinda confusing when following the current (v16.11.x) documentation, but the React.createRef returns error upon testing.

  • Custom User Avatar
    • zablotski
    • commented on "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    Definetely. Without it kata is useless

  • Custom User Avatar
    • Pau1fitz
    • commented on "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    I didn't think the instructions were clear enough to be honest

  • Custom User Avatar
    • ISEP - Pugs
    • commented on "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    Could you please update so we could use React.createRef?

  • Custom User Avatar
    • EirikBirkeland
    • commented on "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    I figured this out save for the fact that unshackle was an implicit global function. I erroneously concluded that the tests were missing a variable declaration.
    I see now that it actually says "already existing function" in the instructions. I suppose that is clear enough, so I cannot complain. But maybe more explicitly writing something like:
    "This function needs to call an already existing function unshackle in the global-scope with the beast to release."

    Anyway, nice kata!

  • Custom User Avatar
    • kevinlo51
    • created a question for "Unshackle the Beast (uncontrolled components in ReactJS)" kata

    This comment is hidden because it contains spoiler information about the solution

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.

    Get started now by creating a new collection.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection