Nice one! If you're interested in exploring other frameworks, in SolidJS you have:
function Show<T>(props: { when: T | undefined | null | false; fallback?: JSX.Element; children: JSX.Element | ((item: T) => JSX.Element); }): () => JSX.Element;
...which you can use like:
<Show when={state.count > 0} fallback={<div>Loading...</div>}> <div>My Content</div> </Show>
I find really neat.
How to write this type of code(like second) in Dev Community post please help
Do you mean syntax highlighting? If so, then like this:
It's just Mardown compatible with Github.
Yes but how please share image details
Take a look at this official markdown guide: markdownguide.org/extended-syntax/
@chetan_atrawalkar just surround your code with the following:
console.log("Hello World");
Thank you❤️
Nice tip. Thank you ❤️
hi
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice one! If you're interested in exploring other frameworks, in SolidJS you have:
...which you can use like:
I find really neat.
How to write this type of code(like second) in Dev Community post please help
Do you mean syntax highlighting? If so, then like this:
It's just Mardown compatible with Github.
Yes but how please share image details
Take a look at this official markdown guide:
markdownguide.org/extended-syntax/
@chetan_atrawalkar just surround your code with the following:
Thank you❤️
Nice tip. Thank you ❤️
hi