I'm creating a lightning component for our community using the community builder and I need to use the navigateToComponent event and it's not working. Any ideia why this event is not being fired? There's no error or message...
// here's the code where I try to navigate to another component
var navigate = $A.get('e.force:navigateToComponent');
componentDef : 'c:OnlineAPP',