Skip to content

Commit

Permalink
docs: wording in template (#21491)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobMiksch authored Oct 7, 2022
1 parent 35d9cb3 commit ca3abff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function <%= packageLabel %>(props: <%= packageLabel %>Props) {

const rootElem = createRef<HTMLDivElement>();

// Often, you just want to get a hold of the DOM and go nuts.
// Often, you just want to access the DOM and do whatever you want.
// Here, you can do that with createRef, and the useEffect hook.
useEffect(() => {
const root = rootElem.current as HTMLElement;
Expand Down

0 comments on commit ca3abff

Please sign in to comment.