This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { data, loading } = useListeningQuery( | |
query, | |
{ | |
params: params ?? {}, | |
initialData: page, | |
enabled: preview, | |
delay: 250, | |
} | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################### lpl_content => lpl_core_main (partial: views/shared/_main) | |
<div id='lpl_content'> | |
<!-- this is where the main views go to, like index/list, edit, view actions --> | |
</div> | |
##################### lpl_app_header => lpl_core_header (partial: views/shared/_header) | |
<div id='lpl_app_header'> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How do we generate the following? | |
From inside a slice, generate a route that stays inside the slice. | |
From inside a slice, generate a route that goes to another slice. | |
From inside a slice, generate a route that goes to the main application. | |
From the main application, generate a route to a slice route. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
module Fabulous | |
def self.included(base) | |
base.send :remove_method, :name | |
end | |
def name | |
"Fabulous" | |
end |