How to fix connect components with events trailhead?

How to fix connect components with events trailhead?

I have trield almost every code and solution from forum still stuck into this challange. Refactor the input form for camping list items into its own component and communicate with component events.

How is event source used to connect components?

The event source configuration file specifies which components act as event listeners, and Nucleus automatically makes the connections. After establishing the architecture, components, dependencies, and configuration of the application, the developer can then hand the whole application over to Nucleus and watch it run.

How many points for connect components with events?

I have completed the Lightning Components Basics module by creating connect components with events recently and have got +500 points. Since I see some folks are having issues passing the challenge – thought of putting the configuration and code developed for the same.

How to add camping event to connect component?

The handleAdditem method saves the record to the database and adds the record to the items value provider. The addItemEvent event is of type component and has a Camping_Item__c type attribute named item. The campingListForm registers an addItem event of type c:addItemEvent.

How to clear the trailhead challenge Lightning components?

I cleared the Trailhead Challenge – Lightning Components Basics – All of them; This piece above (Connect Components with Events > Refactor Components and Communicate with Events) was the last difficult hurdle. Hope this solves your query. Have a look: https://developer.salesforce.com/forums/?id=906F0000000kDPpIAM

What was the last hurdle in the trailhead challenge?

I cleared the Trailhead Challenge – Lightning Components Basics – All of them; This piece above (Connect Components with Events > Refactor Components and Communicate with Events) was the last difficult hurdle.

What should I use for the trailhead challenge?

You should be using only Base Lightning Components. @Drew Kennedy and Stalin Campus- Got the challenge to pass by incorporarting your code but still after clicking Create Camping button it throws error that it doesn’t recognize the clickCreateItem in campingListForm component.