DEV Community

Discussion on: React-Rails app - How to validate uniqueness?

Collapse
 
andy profile image
Andy Zhao (he/him)

Hey Patryk, congrats on your first post! I'd recommend using codeblocks to format your post. You can use them by wrapping your code portions in triple backticks, like so:

codeblock example

You can also put in the language you want to add syntax highlighting for, like I did with the first set of triple backticks (`javascript `).