-
Notifications
You must be signed in to change notification settings - Fork 0
Weird Bugs
saphknight edited this page Apr 2, 2019
·
10 revisions
- When doing the
handleSubmit
for, VS Code auto-imported App fromapp.jsx
andApp.cable
would return null - Had trouble passing in both
user_id
and messagebody
without losing one or the other. Had to pass in both as separate keys indata
for the ActionChannelchat_channel.rb
- Upon moving all the logic from
ChatRoom
toChannel
and changingChatRoom
to a component that renders bothChannel
andSidebar
, the site would repeatedly run into an infinite loop. This was due to the fact thatSidebar
originally had logic that would renderChatRoom
next to it and this ended up causingSidebar
to renderChatRoom
andChatRoom
to renderSidebar