Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit dc0fd73

Browse files
committed
Remove params deprication method
1 parent 4f3cd1a commit dc0fd73

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/react/component.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ def render
6060
raise "no render defined"
6161
end unless method_defined?(:render)
6262

63-
def deprecated_params_method(name, *args, &block)
64-
notice = "Direct access to param `#{name}`. Use `params.#{name}` instead."
65-
self.class.deprecation_warning(notice)
66-
params.send(name, *args, &block)
67-
end
68-
6963
def children
7064
nodes = [`#{@native}.props.children`].flatten
7165
class << nodes

0 commit comments

Comments
 (0)