You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have your plugin partially working, but I have to increase my y resolution to ludicrous 32,000 pixels so I can scroll all the way down to the bottom to see the latest log entries. Is there a way to reverse the order of the log entries so that the newest logs show on top instead of at the bottom:
`import React, { useState, useEffect } from 'react'
import { Console, Hook, Unhook } from 'console-feed'
import * as Demo from "./demo";
Hello, I have your plugin partially working, but I have to increase my y resolution to ludicrous 32,000 pixels so I can scroll all the way down to the bottom to see the latest log entries. Is there a way to reverse the order of the log entries so that the newest logs show on top instead of at the bottom:
`import React, { useState, useEffect } from 'react'
import { Console, Hook, Unhook } from 'console-feed'
import * as Demo from "./demo";
const LogsContainer = () => {
const [logs, setLogs] = useState([])
// run once!
useEffect(() => {
Hook(
window.console,
(log) => setLogs((currLogs) => [...currLogs, log]),
false
)
}, [])
return
}
export default LogsContainer`
The text was updated successfully, but these errors were encountered: